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 |
How do you check sql server is up and running?
What is indexing?
Can we create SP inside SP ? If no Y ? If yes Y ? Explain with an example ?
Why does sql studio use a single registered database repository? : sql server management studio
How to view the error log for any specific instance? : sql server database administration
What is a table called, if it has neither cluster nor non-cluster index? What is it used for?
What is the purpose of forms?
What are indexers?
what are the main differences between ms access and sqlserver
Can we write ddl in trigger?
What is analysis service repository?
What is candidate key with example?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)