Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GROUP BY boolean field invalid
Message
From
17/09/2001 12:51:42
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
GROUP BY boolean field invalid
Miscellaneous
Thread ID:
00557354
Message ID:
00557354
Views:
51
SELECT A.*, B.Vendorname, SUM(C.Subtotal) AS InvoiceTotal
FROM Invoice A JOIN Vendor B ON A.VenID=B.VenID
JOIN LineItem C ON A.InvoiceID=C.InvoiceID
WHERE A.InvoiceID=1000
GROUP BY A.InvoiceID, A.VenID, A.InvDate, A.Closed

The "Closed" field above in the Invoice table is a bit field and in SQL7 I get "Cannot group by a bit column." error. How do I pull this off so it works? TIA.
It's "my" world. You're just living in it.
Next
Reply
Map
View

Click here to load this message in the networking platform