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 > Oracle > Equivalent to MSSQL table variable

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-04-04, 20:34
awfdml awfdml is offline
Registered User
 
Join Date: Jul 2004
Posts: 53
Equivalent to MSSQL table variable

Oracle newbie here...

Is there such a thing as a table variable in Oracle?

I'm coming from an MSSQL background where I could do something like this:


DECLARE @x table (i int, j int)
insert into @x
select 0, 10

The table is only going to be two columns wide but it'll have a hundred rows or so.

Unfortunately because of the way permissions are set up, my user cannot create tables or temp tables so I'm looking for another way out

Thanks
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