By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,359 Members | 1,365 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,359 IT Pros & Developers. It's quick & easy.

SQL Query

nitindel
P: 67
Hi All,


What is the output of this SQL Query.??
What does it Do....
Do tell me other queries related like this Consttants...


Thanks ,
Nitin
Software Engineer
Apr 7 '08 #1
Share this Question
Share on Google+
4 Replies


ck9663
Expert 2.5K+
P: 2,878
Hi All,


What is the output of this SQL Query.??
What does it Do....
Do tell me other queries related like this Consttants...


Thanks ,
Nitin
Software Engineer

Where's the query?

-- CK
Apr 7 '08 #2

nitindel
P: 67
Select * from Emp where 1=1
Apr 8 '08 #3

debasisdas
Expert 5K+
P: 8,127
There is no use of such a query ,that will simply return all the records from the table.
Apr 8 '08 #4

nitindel
P: 67
Actually i was using that query because i have to append the query and if condition ...
the above query will return all the records like select * from emp but addding where alause is necessary to append it to the new query in If condition of my Code.


Thanks a lot...

Nitin Sharma
Software Engineer
Apr 9 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.