write a query to display diference between two dates in sql
server
Answers were Sorted based on User's Feedback
Answer / jayesh l lolariya
select datediff(dd,'03-03-2008',getdate()) as dataDiff
Is This Answer Correct ? | 7 Yes | 3 No |
what are the different type of sql's statements ? : Sql dba
Is ms sql is free?
How do I know if I have sql express or standard?
Is there any problem if we use commit repeatedly after each dml statement in a plsq procedure ? (eg. there are 10 update stmt and using 10 commit stmt after each update stmt)
Table Order_Name has a column Order_Date which gives the date & Time at which the order is passed.Find the table to write a query to find out the latest order.
Can we group by two columns in sql?
how to get second highest salary in SQL(as/4000
Can we use update in sql function?
Mention what is the plv (pl/vision) package offers?
What is the difference between UNIQUE CONSTRAINT and PRIMARY KEY? 1. There is no difference. 2. A PRIMARY KEY cannot be declared on multiple columns. 3. A UNIQUE CONSTRAINT cannot be declared on multiple columns. 4. A table can have multiple PRIMARY KEYS but only one UNIQUE CONSTRAINT. 5. A table can have multiple UNIQUE CONSTRAINTs but only one PRIMARY KEY.
What is parameter substitution in sql?
How do I save a sql query?