Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

How to tell SQL Server to insert X rows based on a X value in a column?

$
0
0

Hello Everyone!

Please see the screen shots below. I have a table, showing how many point cards to send to each person. I need to generate a new table, giving each card its own row - to scan serial barcodes. I am using SQL Server 2012 Standard.

Could someone please help with TSQL code, or at least point me in the right direction how to proceed here?

Thank you very much!!


Viewing all articles
Browse latest Browse all 4871

Trending Articles