Just nu i M3-nätverket
Jump to content

Fylla en tabell ..


SwAsH

Recommended Posts

MattiasCanberger

I SQL Server kan du göra följande. Borde gå att göra motsvarande i de flesta databaser.

 

DECLARE @Rad INTEGER

SET @Rad = 0

WHILE @Rad < 254

BEGIN

INSERT INTO TabellNamn

VALUES(NULL)

 

SET @Rad = @Rad + 1

END

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...