Viewing 15 posts - 76 through 90 (of 203 total)
If all rows are identical, how doest it matter which one you delete ?
For deleting one row. you could use,
SET ROWCOUNT 1
DELETE ForTest where No = 1
SET...
May 24, 2004 at 3:42 am
I didn't knew about this feature. Where can I find more information on this new help system?
May 24, 2004 at 12:04 am
Put A SET XACT_ABORT OFF and then test your procedure.
May 24, 2004 at 12:01 am
you can not use the MOVE options with diff. backup restore.
try by removing MOVE files options from diff. restore command.
May 20, 2004 at 11:06 pm
I am trying to answer a quesion "Without using temp tables or cursors, how do I select 10 records for...
April 30, 2004 at 6:29 am
does this help ? Assumed that for a userid , there will be distinct values for textdata.
create table testdata
( userid int , textdata varchar(10) )
go
insert testdata
select id...
April 30, 2004 at 2:40 am
I had a simmilar issue over linked server. Although it was Oracle as Linked Server, but the problem were simmilar.
A query of this format
SELECT COL1, COL2, COL3 FROM SERVERA..OWNER.TABLE
WHERE COL1...
April 28, 2004 at 2:44 am
Try this from a command line
net stop sqlserveragent
net stop mssqlserver
April 28, 2004 at 12:04 am
if you are on SQL 2000, use CHECKSUM_AGG function.
see BOL for sample on how to use this function.
April 27, 2004 at 3:12 am
Can you put up some sample data and expected output? As per my testing data, I am able to get the desried results.
April 12, 2004 at 10:30 pm
Does this work ?
SELECT A.Membernbr ,
CASE WHEN A.Service <> B.Service AND A.SubService <> B.SubService THEN 'DOUBLE CHANGE'
WHEN A.Service <> B.Service THEN 'Service CHANGE'
WHEN...
April 12, 2004 at 5:18 am
This seems to be a bug in Query Analyzer.
if you write from a command line
isqlw -U sa -P sa_pwd -S . -d master
it will work...
and
isql -U...
April 7, 2004 at 12:04 am
Object_id , db_name and object_name are functions that work in current database only.
that's the reason why your inner query SELECT OBJECT_ID(NAME) FROM [Northwind].[dbo].[sysobjects] WHERE type = 'U' will mostly return...
April 6, 2004 at 10:12 pm
Viewing 15 posts - 76 through 90 (of 203 total)