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 |
Can you give me some DBCC command options?(Database consistency check) - DBCC CHECKDB - Ensures that tables in the db and the indexes are correctly linked.and DBCC CHECKALLOC - To check that all pages in a db are correctly allocated. DBCC SQLPERF - It gives report on current usage of transaction log in percentage. DBCC CHECKFILEGROUP - Checks all tables file group for any damage.
one table has four field id,name,design,salary. i have to find maximum salary .
Explain the new features of SQL server 2000?
What is difference between views and tables?
What is the difference between Normalization and De-normalization?
What is a function? Give some example?
explain extended properties
I have a huge amount of data which is displayed in a report. The data is viewed every day. Every day the data is displayed in 30 secs but suddenly today it is giving an timeout message today. Data has not been changed. The situation is same as yesterday. What might be the reason??? Please Answer.
Do you know what is lock escalation?
What command would you use to add a column to a table in sql server?
What are page splits? : SQL Server Architecture
How to delete multiple rows with one delete statement in ms sql server?
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)