Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Case in Where clause
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01303803
Message ID:
01303822
Views:
13
Hi Sergey, I have it sussed now, this is what I have
@MyFlag = 'Y'

update mytable
set field1 = null
where @MyFlag = 'Y' And MasterCustomerRef = @MasterCustomerRef
Or @MyFlag = 'N' And CustomerRef = @CustomerRef
maybe not pretty but it works

thanks again
Regards,
Peter J. Kane



Pete
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform