Viewing 15 posts - 271 through 285 (of 331 total)
hi try this
DECLARE @Month TABLE (Names Varchar(50),Team varchar(5),[1] SMALLINT ,[2] SMALLINT ,[3] SMALLINT ,[4] SMALLINT ,[5] SMALLINT ,[6] SMALLINT ,[7] SMALLINT ,[8] SMALLINT ,[9] SMALLINT ,[10] SMALLINT ,[11] SMALLINT ,[12]...
March 24, 2010 at 1:11 pm
Superb thats what i need thanks a lot u have saved my time
Cheers
Parthi
March 24, 2010 at 7:04 am
As per my knowledge by T-SQL Table script can not be generated :unsure:
But how cum it is done tro Generate SQL Script in object explorer
March 24, 2010 at 6:07 am
Hi
But What about scripting Tables i need to script tables how to do it.
Thanks
Parthi
March 24, 2010 at 5:23 am
hi i got it
DECLARE @Name varchar(100)
DECLARE contact_cursor CURSOR FOR
select Name from sys.sysobjects where xtype in('p','tr','v') order by Xtype
OPEN contact_cursor
FETCH NEXT FROM contact_cursor
INTO @Name
WHILE @@FETCH_STATUS = 0
BEGIN
exec SP_Helptext...
March 24, 2010 at 4:09 am
I have given my error details in my 1st post itself
again i am sending
TITLE: Microsoft SQL Server
------------------------------
SQL Server cannot create the mirroring endpoint, 'Mirroring'.
------------------------------
ADDITIONAL INFORMATION:
Create failed for...
March 3, 2010 at 5:15 am
Bhuvnesh (3/3/2010)
Few questions :Are both the instances on same machine?
Are you trying to implement mirroring first time on them ?
Have you tried Wizard for mirroring ?
Yes i am using Same...
March 3, 2010 at 4:23 am
amalanto (2/25/2010)
I am using sql server 2005,In that we have one stored procedure A to call stored procedure B, which returns a set of records from...
February 27, 2010 at 8:11 pm
hi
Nice one it worked out.Say for eg: take this as input of the below query's output it is in XML then how...
January 30, 2010 at 10:28 pm
This is the continuation of the above thats why i have posted here.
January 28, 2010 at 11:30 pm
Hi
This Time my problem is bit different
I am having a database with daily Full backup i did not put Translog backup for the...
January 27, 2010 at 10:58 pm
Hi Friends
DECLARE @Tmp TABLE (I INT ,VALUE VARCHAR(25))
INSERT INTO @Tmp
SELECT 00,'1,2,3,4,5'
UNION ALL SELECT 01,'1,2,3,4,5'
UNION ALL SELECT 02,'1,2,3,4,5'
UNION ALL SELECT 03,'1,2,3,4,5'
UNION ALL SELECT 04,'1,2,3,4,5'
UNION ALL SELECT 05,'2,3,4,5'
UNION ALL SELECT 06,'2,3,4,5'
UNION...
January 27, 2010 at 4:10 am
Hi Mark
Nice one, that is good in 2005,we are using 2000 how to get in 2000 any idea.
The above O/P is what...
January 22, 2010 at 10:21 pm
presently I need to get the records Inserted date in that table.
Then use 3rd party Tool log Rescue (if you u have from beginning) and find date and time...
January 22, 2010 at 5:07 am
I have already my schema and it is "Live".
No space to create a new table with the column.
What is mean by No space to create a new table with the...
January 22, 2010 at 4:24 am
Viewing 15 posts - 271 through 285 (of 331 total)