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 > Sybase > Tempory tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-02-08, 01:38
sunil_manake sunil_manake is offline
Registered User
 
Join Date: Mar 2008
Posts: 7
Tempory tables

In interview there was a question :- How many tempory table in database.

any answer?
Reply With Quote
  #2 (permalink)  
Old 05-17-08, 05:34
samirbadhe samirbadhe is offline
Registered User
 
Join Date: May 2008
Posts: 10
RE: Tempory tables

I think the question should be
How many types of temporary tables are there is ( sybase ) database.

If this is the case then ....

Hash ( # ) tables :
Accessible from user database, though created in tempdb.
Available till connection session expires.

eg.
create table #sample_hash
( col1 )

Temporary tables :
Accessible from tempdb database
Available till server gets rebooted.

eg.
create table tempdb..sample_table
( col1 )

-samir
TechFruits.com
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