adspace
how we can store the value like that 001,003,023 etc in sql
server 2005
Answer Posted / laxman r
UPDATE [APPPARAM] SET [APPPARAM_VALUE] = Replicate('0', 3 -
Len(convert(varchar, (@DATABASE_IDENTITY_NO + 1)))) +
convert(varchar, (@DATABASE_IDENTITY_NO + 1)) FROM
[APPPARAM] a WHERE a.[APPPARAM_KEY] = @AppParamKey
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How do I create a trace in sql server?
If any stored procedure is encrypted, then can we see its definition in activity monitor?
How to convert numeric expression data types using the cast() function?
What is subquery? Explain the properties of a subquery?
How do I start sql server 2017?
What are the different SQL Server Versions you have worked on?
How can you append an identity column to a temporary table?
What kind of problems occurs if we do not implement proper locking strategy?
What are the source of constraints?
What is the difference between upgrade and migration in sql server?
What is normalization and what are the advantages of it?
How do I find query history in sql server?
How to remove duplicate rows from table except one?
do you know how to configure db2 side of the application? : Sql server database administration
How to enter binary string literals in ms sql server?