Archived Months
January 2003
March 2003
April 2003
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
July 2007
August 2007
September 2007
October 2007
all groups > sql server misc > august 2004

EXECUTE 'tsqlstring' with parameters
Posted by Russ Ferrill at 8/24/2004 4:49:44 PM
I'd like to be abe to dynamically build a tsql command to execute a stored procedure that takes parameters. Is this possible? ...more >>


Compare like data
Posted by GitarJake at 8/24/2004 1:30:41 PM
Hello all, I am new to sql and have some Access experience. In sql, how do I: compare 2 identical tables, (except for data); then update table 1 with new data from table 2 TIA Jake ...more >>

Removing Old/Unused Stored Procs....
Posted by Tam O'Shanter at 8/23/2004 8:54:10 PM
Hello Friends, Situation: I have been charged with cleaning up a large legacy database. During this process I have identified tables no longer used and removed them from the schema. Question: I now have may stored procs that reference these tables and are no longer needed. How can ...more >>

Passing a table or cursor into a stored procedure
Posted by Russ Ferrill at 8/23/2004 8:25:01 PM
I have a stored procedure that I would like to be able to pass a table or cursor into so that it will process whatever records are contained in the input data. Is there any way to do this in T-SQL? If not, can somebody suggest a good workaround? Thanks very much in advance. ...more >>

Converting Date+Time to Date
Posted by Maziar Aflatoun at 8/21/2004 3:54:20 PM
Hi everyone, I have a database with a date field 'StartDate' as smalldatetime. I need to grab the date part and not the time part. Ex. 2004-08-01 00:00:00 all I need is the 2004-08-01 How do I do that using SQL (Convert or Cast?? )? Also, is there another datatype I can define it as in...more >>

2nd Try: Restore Database Dialog missing Backups (Archive BIT)
Posted by Doug Crabtree at 8/17/2004 11:43:40 AM
I have a strange problem with restoring files. I have one SQL server installation that does not show any .BAK files that no longer have the archive bit set. Is there a switch somewhere that I can throw to change this back? I have 3 other SQL server installations in different places that do ...more >>

How to delete a database without name
Posted by Edgar Walther at 8/13/2004 12:01:45 PM
Hi, In my databases list there is one database with an empty name. I don't know how it got there, but I want to get rid of it. My whole SQL Server is messed up now, I cannot even add a table or something like that. I cannot drop it from Enterprise manager. I cannot drop it with SQL, beca...more >>



DevelopmentNow Blog