dbTalk Databases Forums  

User-defined function and temporary tables

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss User-defined function and temporary tables in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
sean.gilbertson@gmail.com
 
Posts: n/a

Default User-defined function and temporary tables - 03-10-2006 , 10:56 AM






Hiya,

Is there really no way to use temporary tables from within a UDF? I
like UDFs because I can use them like a table -- e.g., SELECT row1,
row2 from MyFunc('abc')


Reply With Quote
  #2  
Old   
sean.gilbertson@gmail.com
 
Posts: n/a

Default Re: User-defined function and temporary tables - 03-10-2006 , 11:14 AM






Wow, I just figured out that you can declare local table variables.
That is perfect!


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.