so I have a question about temporary tables in SQL Server 2005.

>From the SQL Server documentation for CREATE TABLE:

You can create local and global temporary tables. Local temporary tables are
visible only in the current session, and global temporary tables are visible
to all sessions. Temporary tables cannot be partitioned.

Prefix local temporary table names with single number sign (#*table_name*),
and prefix global temporary table names with a double number sign (##*
table_name*).
What exactly does "current session" mean as it applies to a Coldfusion
request?  The life of the request?  the life of the transaction, if any?
The life of the executing query?  Or, since CF maintains the database
connection between requests, and pools connections, how does that affect
things?

I'm hoping that each cf request is a separate "session" as far as SQL Server
is concerned.

Thanks!

Rick


-- 
Rick Root
New Brian Vander Ark Album, songs in the music player and cool behind the
scenes video at www.myspace.com/brianvanderark


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303662
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to