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

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?

842


Explain try...catch with sql server?

761


tell me what are the steps you will take to improve performance of a poor performing query? : Sql server database administration

752


What are the properties of sub-query?

785


How to link tables in sql server?

659






How to call stored procedure using http soap?

706


How to find which stored procedure is currently running in sql server?

670


how can a database be repaired? : Sql server administration

690


What are acid properties of transaction?

693


What are the differences between union, intersect, and minus operators?

764


How to encrypt data between dialogs?

768


How do you create type- insensitive operator?

732


How can I track the changes or identify the latest insert-update-delete from a table?

718


Explain differentiate between a having clause and a where clause?

685


What is a view and what are its advantages?

856