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 shared lock?
Difference between Function and Stored Procedure?
Write a sql query to delete duplicate records from a table called table1
List the types of recovery model available in sql server?
How to test a dml trigger in ms sql server?
What is the basic functions for master, msdb, tempdb databases?
What command do we use to rename a db?
Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?
Do you know the cursor types?
What is a group function explain with an example?
Creating Tables Using SELECT
What do you mean by authentication modes in sql server?
Oracle (3253)
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)