Wrox Programmer Forums
|
BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7
This is the forum to discuss the Wrox book Professional SQL ServerReporting Services by Paul Turley, Todd Bryant, James Counihan, George McKee, Dave DuVarney; ISBN: 9780764568787
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 13th, 2004, 12:38 PM
Registered User
 
Join Date: Oct 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Where Clause using Field Name

Anyone know the query for the WHERE Clause using object name.

For example, I want to use the WHERE Clause where the object name Equals 'E_Name'

SELECT *
FROM EMPLOYEE
WHERE E_Name = 'E_Name'

I know that for ASP this query works.

WHERE WORK_ID ='" & objRS("ID") & "'

 
Old October 13th, 2004, 01:12 PM
Registered User
 
Join Date: Oct 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just a correction. The WHERE WORK_ID ='" & objRS("ID") & "' query works. I am referencing another alias name from another dataset. Not from the field name.

Thanks though.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Order by clause priyan.viji SQL Language 2 December 17th, 2007 02:45 AM
"where" clause problem gilgalbiblewheel Classic ASP Databases 7 August 19th, 2004 12:34 AM
like clause in Access mateenmohd Access 2 June 13th, 2004 11:01 PM
More than 1 WHERE clause? onlyu2 MySQL 1 March 26th, 2004 01:48 PM
HAVING clause Adam H-W SQL Server ASP 2 February 11th, 2004 01:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.