What is the difference between two queries:
1. SELECT * FROM table WHERE 1=1;
2. SELECT * FROM table
Answer Posted / hasan
Both are same .
They r showing all results.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is the xml datatype?
Difference between Inner vs outer joins?
what is the difference between count(*) and count(1) ?
Who developed sql server?
Can a database be shrunk with users active?
You want your report to display a hyperlink that will take users to your intranet. How do you configure such a hyperlink?
What is the difference between ddl and dml?
What do you understand by mirroring?
Why use view instead of a table?
When I run the sql server 2000 setup, it just hangs. What do I do?
Explain the concept of recursive stored procedure.
How to list all dsn entries on your local machine using odbc_data_source()?
What language is sql server written in?
Why we should not use triggers?
Explain primary key in sql server?