Microsoft
Software
Hardware
Network
Question : how to use the results of a sql sub-select query in a where statement
I am creating a sql view and one of the columns I need comes from a different table that I can't join to. I am using a sub-select, within the query to get the data. The sub-select is as follows:
,CAST ((SELECT InvoiceNumber
FROM Invoicedata id
WHERE (id.ShipNum = sl.ShipNum)) AS Varchar(100))
AS Invoice
In a where clause, I am trying to return records where the Invoice is NULL. When I put the column Invoice into the where clause, it tells me Invoice is an invalid column name. Is there a way to use the Invoice column in the where clause?
Thanks in advance, JoMar
Answer : how to use the results of a sql sub-select query in a where statement
I would use a repater, which offers better customization of the output
yes you would need a nested repeater
here a simple tutorial on how to manipulate repeaters
http://msdn.microsoft.com/
en-us/libr
ary/aa4789
59.aspx
Random Solutions
MS SQL Reporting Services 2005 upgrade to 2008 issues
Cannot find Domain Controller while trying to join the domain
How to find focused control in Silverlight
Current Event between print records...
Adobe Acrobat 7 printer on Windows 7 64bit doesn't install
Downgrade 2008 R2 TO R1 OEM
Problem moving Wordpress site from one domain to another, and on a new webserver.
Word doesn't open file that's setup with VB- error: could not load some objects because they are not available on this machine
Simple File Sharing Question
How do I prevent Navigation Pane from expanding when I activate a command button?