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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
|