Search Results

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: campkev ; Forum: MS SQL and child forums
Forum: MS SQL May 9th, 2008
Replies: 1
Views: 1,396
Posted By campkev
get rid of the square brackets around the varchar(255) and it will work fine.

For that matter, why are you putting them around the datatypes anyway? I've never seen anyone do that.
Forum: MS SQL Sep 12th, 2006
Replies: 3
Views: 4,720
Posted By campkev
the problem with you original query was precedence

what you need is

WHERE (CHKCANCEL = '0') AND (DITD IS NULL) AND( (CUSTOMERID = '52') OR
(CUSTOMERID = '62') OR
...
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC