If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Can I use db2text command in DB2 trigger, stored procedure, function

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-15-04, 01:11
agilechen agilechen is offline
Registered User
 
Join Date: Jan 2004
Posts: 8
Can I use db2text command in DB2 trigger, stored procedure, function

Can I use db2text command in DB2 trigger, stored procedure, function. I want to update db2 full text index use command db2text "update index ??? for text", my question is can I use this command in trigger, stored procedure or function???
angelchencn@hotmail.com
Reply With Quote
  #2 (permalink)  
Old 01-15-04, 10:11
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
No you cannot. You can only execute SQL commands in those and Functions and Triggers have a limited set they can execute. Please consult the SQL REference manual to see what is allowed.

Andy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On