Audio Webcast – Whats News
Yesterday I though of doing an audio webcast what all I blog. So started audio webcast, its a series of...
2010-05-12
695 reads
Yesterday I though of doing an audio webcast what all I blog. So started audio webcast, its a series of...
2010-05-12
695 reads
continue with performace tunning stuff, I would like to make a checklist (kind of) for general performance tunning or dba...
2010-05-06
1,117 reads
TempDB Internals: TempDB is very important DB in sql server, generally sql server automatically takes care of the storage management...
2010-05-01
1,852 reads
Hi Friends.Thanx for your support. for this year onwords I will be bloging on my own website....Hope to see you...
2010-01-08
523 reads
Following steps happened when sql server starts… we can see that in error log::
1. Build of sql server and...
2009-12-25
661 reads
Its quite some time that I blog… but good news is I have some good stuff to blog on… so...
2009-12-16
12,459 reads
Everyone who wants to know about how transaction replication works and how to improve the performance of transaction replication must...
2009-12-03
2,139 reads
I realize that we all should know when the support of Microsoft sql server will expire. we should have this...
2009-11-13
683 reads
Today I was just thinking about to know what is the difference between sql server vs.. other DBMS/RDBMS. so thought...
2009-11-04
1,382 reads
Today I was just thinking about to know what is the difference between sql server vs.. other DBMS/RDBMS. so thought...
2009-11-04
1,970 reads
By Steve Jones
“I’m sick of hearing about Red Gate.” The first article in the book has...
By Kevin3NF
IT leaders have a lot on their plates! Budgets, staffing, security, uptime, and keeping...
Want to really level up your SQL game? I mean, go from good to great? This March...
Comments posted to this topic are about the item Dynamic T-SQL Script Parameterization Using...
Comments posted to this topic are about the item Multiple Sequences
Comments posted to this topic are about the item Using SQL Server Stored Procedures...
In SQL Server 2022, I run this code:
CREATE SEQUENCE myseqtest START WITH 1 INCREMENT BY 1; GO CREATE TABLE NewMonthSales (SaleID INT , SecondID int , saleyear INT , salemonth TINYINT , currSales NUMERIC(10, 2)); GO INSERT dbo.NewMonthSales (SaleID, SecondID, saleyear, salemonth, currSales) SELECT NEXT VALUE FOR myseqtest , NEXT VALUE FOR myseqtest , ms.saleyear , ms.salemonth , ms.currMonthSales FROM dbo.MonthSales AS ms; GO SELECT * FROM dbo.NewMonthSales AS nmsAssume the dbo.MonthSales table exists. If I run this, what happens? See possible answers