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

Answer Posted / sathish kondaveeti

create table value(num int(3))
insert into value values(001)
insert into value values(003)
insert into value values(023)

to see this table
select * from value

Is This Answer Correct ?    0 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between value type and reference type?

549


When is update_statistics command used?

575


What is the difference between local and global temporary tables?

577


Which is better statement or preparedstatement?

516


What are the different sql server versions?

512






You are designing a database for your human resources department in the employee table, there is a field for social security number, which cannot contain null values if no value is given, you want a value of unknown to be inserted in this field what is the best approach?

615


What is table value parameters (tvp)?

537


Explain the dbcc pintable command when would you use it?

502


Explain about thread and memory management process of SQL?

532


Explain the use of containers in ssis and also their types?

522


How to drop an existing table?

545


I create a separate index on each column of a table. What are the advantages and disadvantages of this approach? : Sql server database administration

575


Explain the various types of concurrency problem. I.e. Lost or buried updates, uncommitted dependency, inconsistent analysis, phantom read?

497


Explain alternate key, candidate key and composite key in sql server?

515


Tell me what are cursors and when they are useful?

506