Click here to Skip to main content
15,890,947 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I will Create a Result set with Query String. i want to convert it into Table object . let me know if you know
Posted
Comments
[no name] 21-Jun-14 9:13am    
If we know what? The answer is going to depend on what your posting means, what you have tried to do for yourself and what the problem was when you ran your code.
meranaamshahul 21-Jun-14 9:16am    
i will execute a Query String . it will return a A result Set. i need to create a table with the Result Set.
Andrius Leonavicius 21-Jun-14 11:32am    
Table object? Are you talking about ASP.NET or just SQL Server?
VICK 23-Jun-14 1:59am    
show the sample of your result set which would be created from the query string.

1 solution

Google can get you really far! Use it...
This is on of the 37,100,000 findings Google can provide you...
http://technet.microsoft.com/en-us/library/ms188263(v=sql.105).aspx[^]
 
Share this answer
 
Comments
meranaamshahul 23-Jun-14 2:28am    
Create function QueryStringintoTable_fn (@Query Text)
RETURNS TABLE
AS
RETURN

exec sp_executesql @query
i will send a Select statement in this Query String , i need a table to be returned

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900