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 > Adabas > PLS-00428: an INTO clause is expected in this SELECT statement

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-26-04, 12:53
ClareFox ClareFox is offline
Registered User
 
Join Date: Nov 2003
Location: Ireland
Posts: 9
PLS-00428: an INTO clause is expected in this SELECT statement

I am creating a stored procedure for gathering table stats and am getting an error on my select statement but I don't see what the problem is? Any ideas?
select 'dbms_stats.gather_table_stats(
ownname => user,
tabname => '||table_name||',
estimate_percent => 2,
block_sample => TRUE,
cascade => TRUE);'
FROM user_tables WHERE TABLE_NAME='TABLEA';
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