Archived Months
January 2003
March 2003
April 2003
May 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
December 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
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
April 2008


all groups > sql server programming > december 2006 > threads for saturday december 30

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Excel Import - determine sheet?
Posted by NB at 12/30/2006 4:03:01 PM
Hi - I'm importing an excel sheet into a SQL table using the syntax: ----------------------------------- INSERT INTO tblExcelImport SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;HDR=YES;IMEX=2;DATABASE=c:\files\importfile.xls', 'SELECT * FROM [ThisSheet$...more >>

Open default DB in Enterprise Manager upon connecting to server (SQL2000)
Posted by Vsevolod Ukrainsky at 12/30/2006 3:28:20 PM
FYI: my sincere apologizes if this group is not the right place for my questions. Hello, 1. My hosting provider hosts ~500 databases on the server where my DB resides. To open my database I use SQL Server 2000 Enterprise Manager. While server connection timeout is short enough (about 1-...more >>

help with a query
Posted by Curtis at 12/30/2006 11:52:01 AM
I am trying to get my results to look like this: ResponseID FirstName LastName Email ------------------------------------------------------------------ 1 Bob Smith bsmith@email.com The values look like this in...more >>

Executing a query in sp_send_dbmail
Posted by Mike at 12/30/2006 10:47:00 AM
I have a relatively simple query that I can execute on my database and get the expected results. It looks like this: Select databasename, sum(data) from SpaceUsed where databasename not in ("master", "msdb") Group By databasename Order by databasename I put this query into an 'exec sp_sen...more >>

Set Statistics XML on
Posted by Christine at 12/30/2006 8:07:00 AM
Hi, I tried to create a Set Statistics XML on before running a query and I got an XML link at the end of the resultl panel. I clicked on it and it showed all the XML codes. My question is what is the use of all the XML codes? Can I same the XML codes and run it somewhere else so that it...more >>

Error in AttachDbFilename connection string in SQL 2K5 Standard
Posted by Adil Akram at 12/30/2006 7:05:00 AM
I'm developing a Window Form project in VS2005 (C#, WinForm) and SQL Server 2005 Standard Edition as database. When I try adding "SQL Database" by right clicking project in Solution Explorer => Add => New Item => SQL Database it shows following error message. ------------------------------...more >>

How to protect my SQL Server DataBase
Posted by ssakhri NO[at]SPAM gmail.com at 12/30/2006 6:04:27 AM
Hi, i want to protect my sql server database and desable full access to all table structures and data, because it is a yearly hard work. is there a way to protect my database after livraison with the application? is there a way to desable full database management? Thanks ...more >>

Loop through Records and update individual records
Posted by Eric Layman at 12/30/2006 2:05:56 AM
Hi, I have the following T-SQL script but I'm not able to convert the logic to T-SQL syntax correctly. I'm stucked with the syntax to do looping What I have in mind is to only UPDATE individual records that have the condition of timebased of "1" --------------------------------------...more >>




DevelopmentNow Blog