Viewing 6 posts - 16 through 21 (of 21 total)
Sorry for the use of NoLock, currently I am working on a reporting system and addicted to it.
Yeah, you can avoid using NoLock.
Regards,
Venku
July 29, 2005 at 2:55 am
Select a.*,b.OrderId
From Orders a(NoLock)
Left Outer Join [Order Details] b(NoLock) On (a.OrderId = b.OrderId)
Where b.OrderId Is Null
July 29, 2005 at 1:22 am
This would also do the same
Delete from A
Where KeyColumn In
(
Select KeyColumn from B
Union
Select KeyColumn from C
)
July 25, 2005 at 6:57 am
Thanks a lot.
I have all the SPs in files and not in SQL Server.
I want to fetch code from each file (in Query Analyzer) and then do as you said...
July 25, 2005 at 6:44 am
I am looking for something like this
Declare @i int
Set @i = @parameterValue
Case @i
When @i=1 Then
Statement 1
Statement 2
.....
When @i=2 Then
Statement 1
Statement 2
.......
ELSE
When @i=1 Then
Statement 1
Statement 2
......
END --End of...
June 7, 2005 at 7:31 am
Hi everyone,
Thank you for the help extended.
Basically what I want to describe the same as Nicolas Donadio has described i.e. the basic case statement in most of the software's syntax is in...
June 6, 2005 at 10:09 pm
Viewing 6 posts - 16 through 21 (of 21 total)