adspace


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

Answer Posted / sandeep modapathi

replicate('0',3-len(field_name))+field_name

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is standby servers? Explain types of standby servers.

1089


What is temporary table in sql server? Why we use temp table?

1027


How to convert character strings into numeric values?

1196


do you know how to configure db2 side of the application? : Sql server database administration

1135


What is normalization and what are the advantages of it?

1067


What kind of problems occurs if we do not implement proper locking strategy?

1508


What are the different SQL Server Versions you have worked on?

1084


How to enter binary string literals in ms sql server?

1256


Can you index views?

958


How to connect php with different port numbers?

1197


What is a coalesce function?

1292


What is self contained sub query?

1148


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

1032


When should you use an instead of trigger?

1062


If any stored procedure is encrypted, then can we see its definition in activity monitor?

1083