How fast is:

Select @@identity
>From #mytable#

??

Or 

Select @@identity as myID 

> -----Original Message-----
> From: Aaron Rouse [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, February 15, 2006 1:54 PM
> To: CF-Talk
> Subject: Re: Try/Catch vs. direct error handling
> 
> I do not use MSSQL much but wouldn't it just be something like:
> 
> SELECT GETDATE()
> 
> For some reason I was thinking MSSQL will let you do a select 
> with no from.
> 
> 
> On 2/15/06, Michael Dinowitz <[EMAIL PROTECTED]> wrote:
> >
> > That oracle ping query was rather interesting and I wonder if MSSQL 
> > has an equivalent without a lot of overhead (i.e. no 
> overhead at all).
> >
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232374
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to