how we can store the value like that 001,003,023 etc in sql
server 2005

Answer Posted / nadeem

create table t(NUM int(22))
insert into t values(001)
insert into t values(002)
insert into t values(023)

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain comment on transactions?

551


how many clustered indexes can be created on a table? : Sql server database administration

559


What is coalesce and check constraint in sql server?

537


How to find out the list schema name and table name for the database?

520


Define indexes?

601






What does null mean?

595


How to connect to SQL Azure Database by using sqlcmd?

110


How to add additional conditions in SQL?

582


Which Model uses the SET concept

575


When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

642


You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date

591


What are the advantages of using stored procedures in sql server?

504


How to test odbc dsn connection settings?

523


When would you use it?

571


Explain about analysis services?

569