sql server - Add an incremental number sequence in SQL INSERT SELECT Query -


Below I have a query to insert values ​​from one table to another table.

  Vrkflo_grafform-column (Kstmformaidi, column number, column title, column type, select the column list value, Ijhrekwaerd, columns wide, calculations) column number, column title, type columns, Colmlist value the Ijhrekwaerd, columns wide, calculated Vrkflokastformtemp column where Kstmformtaip IID = 66 and column number> 43   

now CustomformID in WorkFlow_CustomformColumns For me mo Need to add Yon who move from 250 to 300

You can < / em> it in row_number () from insert :

However, it is difficult for me to think of a situation where you really want it. Instead, yo will typically create the CustomerFormId and identity columns and assign the ID to specific numbers.

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -