CREATE TABLE dbo.TEST (ID INT IDENTITY (1,1), ROWID uniqueidentifier)
GO
INSERT INTO dbo.TEST (ROWID) VALUES (NEWID())
GO 1000
Note Second Go 1000. This will insert 1000 row to table test.
CREATE TABLE dbo.TEST (ID INT IDENTITY (1,1), ROWID uniqueidentifier)
GO
INSERT INTO dbo.TEST (ROWID) VALUES (NEWID())
GO 1000
<a href="JavaScript:window.print();">
<img src="set the image name" border="0"
width="17" height="17" align="middle" alt="Print Version" />
</a>
Regular expressions are addictive. Playing with these compressed but powerful patterns is better than solving a Sudoku.
If you are wondering what this is all about because, obviously, regular expressions are just the use of “*?”, then read on because the truth is a lot more subtle and the result is a lot more powerful than you might suspect. Equally, regular expressions are something that you will find in more than just C#, they are useful in JavaScript, Perl, Java, Ruby and even in applications such as word processors.
Exec master.sys.xp_fixeddrives
RESULT
Drive MB Free
***** *******
C 10002
D 20002
F 57481