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 > MySQL > Stored Procedures

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-14-04, 09:53
Animaul Animaul is offline
Registered User
 
Join Date: Nov 2003
Posts: 55
Stored Procedures

Does anyone know if GRANT statements can be issued with a stored procedure in MySQL 5.0a?

Also, can anyone point me to the correct syntax to INSERT INTO the columns_priv table? I'm not sure how to insert multiple values into the column_priv field. This is what I have tried:

INSERT INTO columns_priv (host, user, db, table_name, column_name, column_priv) VALUES('%', 'test2', 'pcr', 'pcr_td_data', 'state', 'SELECT' + 'INSERT');


Thanks,

Animaul

Last edited by Animaul; 06-14-04 at 10:24.
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