Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Return Null from function that returns a table

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-07-15 : 07:50:26
nosherwan writes "I use a function that has a table as a return type. It is the exact function that is described under the topic csv to table conversion. The problem is that I want that function to retrun a null value, because based on the string or cvs passed to it it returns an empty table if the string is empty."

Kristen
Test

22859 Posts

Posted - 2005-07-15 : 08:01:39
Can you not use the fact that the returned table has zero rows?

Kristen
Go to Top of Page
   

- Advertisement -