Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 query increment number

Author  Topic 

immad
Posting Yak Master

230 Posts

Posted - 2014-08-25 : 03:31:59
hi,

i want this type of result.

Trx-Databasename1-0001 <----- increment Number.
if Databasename1 is again insert that increment number should be 0002
Trx-Databasename2-0001 <----- increment Number.

thanks for the help.




immad uddin ahmed
   

- Advertisement -