sql server has its default date format in da form "yy-mm-dd" its possible to convert da current date format of sql server to desired format. Now my question is dat how to get da previous and comin days date in my desired format??
2 4513system date format is "yy-mm-dd" "select getdate()" ----> 2009-01-24 20:03:28.513 if i write "select dateadd(dd,2,getdate()) ".it returns "2009-01-26 19:59:38.340"...my question is dat could it be possible to retrive da date in da format "26 jan 2009 ...."??
8 11467when u import an excel file into sql if suppose one column has got a date field with system time attached to it what data type u will use in sql to import it in a table? Note: a condition is the excel file has no primary key defined to a column...also u r importing bulk data into sql
1 3333how to update a null value field in sql server eg a table contains 3 fields id,name,salary and 3 records salary of 1 record is null i want update the nullfield 111 arun 300 112 ddd 200 113 ttt null i want to update table with add 100 to every record include null after updation the recrds should be 111 arun 400 112 ddd 300 113 ttt 100
6 15242I have a table EMP in which the values will be like this EmpId Ename Sal DeptId 11 Ram 10000 10 11 Ram 10000 10 22 Raj 20000 20 22 Raj 20000 20 33 Anil 15000 30 33 Anil 15000 30 I want to delete only duplicate Rows. After Delete I want the output like this EmpId Ename Sal DeptId 11 Ram 10000 10 22 Raj 20000 20 33 Anil 15000 30
DELL,
13 14150
How to fetch the next row from a cursor with a "fetch" statement?
Write a query for primary key constraint with identity key word?
what are the important architecture components of SSRS?
Which tcl commands are available on the sql server?
what authentication modes does sql server support? : Sql server database administration
What is user-defined multi-statement table-valued function?
Can we run Reporting Services with SQL Server express edition, which is a free version of SQL Server?
What is best institute to Learn DotNET And SQL in chennai?
What is inline variable assignment?
What is dbcc updateusage?
What is unique key constraint?
What is difference between line feed ( ) and carriage return ( )?
Can I work with several databases simultaneously? : sql server management studio
What is the language structure to add a record to a table?
Define master database?