Viewing 15 posts - 1,351 through 1,365 (of 1,479 total)
Float is not an exact data type. If is an approximate data type. This means that it might have some mistakes but it should be few digits after...
December 2, 2008 at 1:26 pm
You can do it with the openrowset function and the provider bulk.
Here is an example:
create table #XmlTable (XmlCol xml)
go
insert into #XmlTable (xmlCol)
select BulkColumn
from openrowset(bulk 'c:\FileName.xml', single_blob) as dt
You can...
December 1, 2008 at 4:04 am
There is one difference that I remember. The definition of the network namefor the location to copy the backup files on the secondary server should be added as a...
December 1, 2008 at 1:18 am
Maybe there is a better way but I think that you’ll have to use dynamic SQL with Xquery. The Xquery part will get the values of the attributes and...
December 1, 2008 at 12:55 am
amit (11/30/2008)
Yes you are right.I am trying to move to different filegroups based on the partition key.
Thanks
A.
This has nothing to do with dropping the database. If you have only...
November 30, 2008 at 12:49 am
Johann Montfort (11/28/2008)
Hi Allthis worked
SELECT @BuildID = BuildID
Adi can you tell me how I can do it with one delete and get a return value?
Thanks all!
You can use the...
November 28, 2008 at 5:05 am
Johann Montfort (11/28/2008)
I am doing the following
SELECT BuildID AS [@BuildID]
FROM Builds_LIVE
WHERE BranchID = @BranchID
AND ProductID = @ProductID
--if found
IF @@ROWCOUNT > 0
BEGIN
DELETE FROM Builds_LIVE
WHERE BuildID = @BuildID
AND BranchID...
November 28, 2008 at 4:31 am
Might be wrong here but it seems that those 2 statements caused the deadlock:
UPDATE SS.SECTIONS WITH(ROWLOCK) SET SECTNO=160 WHERE ROOMNO=401
UPDATE SS.SECTIONS WITH(ROWLOCK) SET SECTNO=101 WHERE ROOMNO=601
Do you have an...
November 28, 2008 at 12:04 am
chris (11/27/2008)
This will indicate to the SQL engine that it must hold the lock on the rows it is updating till it has completed...
November 28, 2008 at 12:01 am
GilaMonster (11/27/2008)
To get...
November 27, 2008 at 1:38 am
krayknot (11/26/2008)
TNV (11/26/2008)
Basically I am new to this SQL Server stuff...
I am using MSSQL Server 2005 Express. I turned on trace by using DBCC TRACEON (1024). But in the...
November 26, 2008 at 11:45 pm
Paresh Prajapati (11/26/2008)
November 26, 2008 at 11:34 pm
TNV (11/26/2008)
Basically I am new to this SQL Server stuff...
I am using MSSQL Server 2005 Express. I turned on trace by using DBCC TRACEON (1024). But in the errorlog,...
November 26, 2008 at 11:24 pm
2 Tim 3:16 (11/25/2008)
November 25, 2008 at 8:09 am
Your are getting the error because you have a database with a different name then the database that you are restoring that has the same files' name and path as...
November 25, 2008 at 5:57 am
Viewing 15 posts - 1,351 through 1,365 (of 1,479 total)