Viewing 15 posts - 6,646 through 6,660 (of 7,256 total)
what's your sqlserver version an sp /hotfisex ?
October 22, 2004 at 12:29 am
or
SELECT A, count(distinct B) as B_Count, count(distinct C) as C_count
FROM tableABC
GROUP BY A
October 7, 2004 at 11:16 am
what's sp_who/sp_who2/sp_lock stating ?
is msdtc running ?
is SQLAgent running ? (and is it running any jobs ?)
Do you connect using SQL-authentication or...
October 5, 2004 at 11:21 am
In addition to the other replies : check your ODBC-settings (clientside). If ODBC-logging is active, everything slows downdramaticaly.
are your problem sqlservers dedicated servers...
October 4, 2004 at 1:03 pm
CREATE TRIGGER trg_updatedt ON [dbo].[tablename]
FOR UPDATE
AS
UPDATE tablename
set modified = getdate(), modified_user = suser_sname()
from inserted
where tablename.colid = inserted.colid
check out which user you want to store user_name() <> suser_sname()...
October 4, 2004 at 1:00 pm
So you'll need to copy the parent row first to the target parent-table, then copy the child row to the target-child-table and then delete the child row from the source-child-table....
October 4, 2004 at 12:55 pm
if your DRP allows you to, you may want to switch the recovery_option of your db to bulk-logged during the time you rebuild the indexes. This will use less...
October 4, 2004 at 12:48 pm
select distinct a,b,c
from tableABC
-- order by a,b,c
returns the distinct combination of a,b,c in your table.This way "distinct" is applied at row level.
sometimes, one might want to count the...
October 4, 2004 at 12:35 pm
euh ..
index 0 is the heap. (index 1 is the number for the clustered index, index 255 contains text, lob stuff)
before trying to...
October 4, 2004 at 3:02 am
you may want to take a look at "Read a text file from SQL Server query analyzer" http://www.sqlservercentral.com/scripts/contributions/417.asp
September 22, 2004 at 2:06 am
Nice coding reduces misunderstandings and misreadings
IF NOT (@TempVal) IS NULL
Begin
IF @TempVal < @RetVal
begin
SET @RetVal = @TempVal
end
end
PRINT @RetVal
or
if isnull(@TempVal,...
September 20, 2004 at 4:39 am
Hey, Back online.
I hope everything went just as smooth as you planned it.
Seems good over here.
Nice...
September 19, 2004 at 11:46 pm
Aaarch ... you've told her ...
.... Now you'r under pressure And you have a deadline .., or "suitcases at the door"-line .
September 17, 2004 at 1:27 am
Thanks for all the replies.
"Helas" all our central servers are already migrated to W2k or W2k3 .
September 17, 2004 at 12:20 am
indeed.
I guess there are other reg-keys which store the info in HEX and get a nice guid-like reg-key.
September 16, 2004 at 6:00 am
Viewing 15 posts - 6,646 through 6,660 (of 7,256 total)