what is meant by deafult in sql server?
Answers were Sorted based on User's Feedback
Default is the column value used in the sql.
if you set default value in the columns when creating the
table then the insertion part if you are not passing the
value to this column the the default value will set for
this column.
For example varchar columns are defined as null value for
default value.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / kishore
select count(*) NoOfColumns from SYSCOLUMNS
WHERE id= (Select id from SYSOBJECTS where name = 'city')
In this querry may name is Tablename
Is This Answer Correct ? | 0 Yes | 5 No |
What is instead of dml trigger?
Describe how to use linked server?
Where sql server user names and passwords are stored in sql server? : sql server database administration
What are the advantages of partitioning?
What is a raid and what are different types of raid configurations?
create table with fields ID, reserved_by,res_date res_date is datefield like 2010-03-09 00:00:00.000 from 2005 to 2006 any date assume based on res_date need to slect table and display based on month (full jan details in database irrespective of date and year
Insert syudents details in table.Current system date &time insert into joining time.How do insert?( in sysdate only return current system date how do add time?)
How to receive output values from stored procedures?
Please explain go command in sql server?
What is the diffrence between update_one and auto_fix?
What are alternate keys?
How to include date and time values in sql statements?