Viewing 15 posts - 1,201 through 1,215 (of 1,346 total)
In the beginning of your procedure. your setting @rowcount = @@rowcount. Since no operation or query is being run before you set this, it is setting it to...
July 19, 2005 at 3:49 pm
Yes the restore job will fail, hanging up all other restore jobs.
A destination database in log shipping cannot have any open connections during a restore, So attaching an application to...
July 19, 2005 at 3:18 pm
OOPS Forgot an important Part
Declare @n int
Declare @n_str nvarchar(55)
declare @recIDmin int
declare @recIDmin_str nvarchar(55)
declare @TblName nvarchar(55)
declare @Sqlstring nvarchar(4000)
set @n = 5
while @n < 20
BEGIN
--cast suffix of a table name to varchar
set...
July 19, 2005 at 11:56 am
How are you viewing the data?
If you see this in enterprise manager returning rows text?OtherText then that ? is indicating the newline character.
I believe your updates are working,
If you...
July 19, 2005 at 11:50 am
Not knowing much about your situation, Are they default instances, or named instances?
if it is a default instance, then just using the machine name is okay.
If it is a named...
July 18, 2005 at 4:10 pm
to answer your original question.
Select *
from tablebA
where exists (select *
from tableb
Where Tablea.id = tableb.id)
You need a where clause indicating what criteria you need to establish what data...
July 18, 2005 at 4:03 pm
Use sp_executesql with output parameter
Not TESTED.
Declare @n int
Declare @n_str nvarchar(55)
declare @recIDmin int
declare @recIDmin_str nvarchar(55)
declare @TblName nvarchar(55)
declare @Sqlstring nvarchar(4000)
set @n = 5
while @n < 20
BEGIN
--cast suffix of a table name to...
July 18, 2005 at 3:55 pm
use the sp_helpfile system stored procedure.
sp_msforeachdb 'Use [?] exec sp_helpfile'
July 18, 2005 at 3:48 pm
From books online
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/createdb/cm_8_des_02_2ak3.asp
Generally it is for improved performance, by putting files on different drives spreading Disk IO across may drives.
July 18, 2005 at 3:45 pm
Depends,
Look at this
http://www.bizdatasolutions.com/tsql/sqlarrays.asp
If you would like more help on this specific example,
Please post Table Structures, and Test data.
http://www.aspfaq.com/etiquette.asp?id=5006
July 18, 2005 at 1:44 pm
Short answer.
The Process Info is indicating all the connections to that sql server.
When a connection is establised it is given a Spid. When a connection is closed the Spid is...
July 18, 2005 at 11:25 am
Can you elaborate more on this
The Q_No links to a table of the actual question text as does Answer. Here's the complication. They decided that they want to separate the...
July 18, 2005 at 11:05 am
Remi, that code you posted is the way.
I think what it boils down to is that code is hard to read, and kinduv confusing. So in issues of customization, or...
July 15, 2005 at 11:21 am
Yeah, no big, that ship has sailed, and out to see for a while. Different company, but that query was fresh in my mind.
July 14, 2005 at 1:51 pm
True that, Just another way to skin the cat.
As suggested not an ideal solution because of the memory management sql uses with openxml documents. and the inherent issues with it.
July 14, 2005 at 1:49 pm
Viewing 15 posts - 1,201 through 1,215 (of 1,346 total)