Viewing 7 posts - 1 through 7 (of 7 total)
Sean Lange (5/12/2011)
If you want help figuring it out post some ddl and some sample data and we can give it a whirl.
Indeed I changed my plan and created a...
May 12, 2011 at 7:28 am
Sean Lange (5/11/2011)
May 12, 2011 at 1:25 am
Sean Lange (5/11/2011)
I tried the following code before and it works fine except that I need to supply the @jtName variable dynamically inline the query.
DECLARE @jtName nvarchar(max);
DECLARE @qry nvarchar(max);
SET @jtName...
May 11, 2011 at 1:08 pm
parthi-1705 (5/11/2011)
Have a look on this,use master
Select * from sys.sysobjects where xtype='u' order by id
Go
declare @Name varchar(100)
Select @Name=Object_Name(1131151075)
exec ('Select * from '+@Name)
-- Select * from spt_values
Go
I tried the following...
May 11, 2011 at 12:51 pm
The Dixie Flatline (5/11/2011)
I can think...
May 11, 2011 at 10:57 am
I have a table with field type nvarchar contains a name of another table
now I need to query the 1st table and within the query I want to query the...
May 11, 2011 at 3:37 am
Very useful ........ Thnak you very much
July 21, 2008 at 10:30 am
Viewing 7 posts - 1 through 7 (of 7 total)