Viva Las Vegas!
I won’t be going to Las Vegas, but I will be presenting to the Las Vegas SQL Server Users Group,...
2010-08-11
621 reads
I won’t be going to Las Vegas, but I will be presenting to the Las Vegas SQL Server Users Group,...
2010-08-11
621 reads
I just passed 100,000 views on the blog. That’s from 400 posts over a period of time starting in March...
2010-08-01
655 reads
One of the best things to come out with Powershell V2 is remoting and asynchronous calls. Between the two of...
2010-07-27
1,573 reads
Nice to see most of you have managed to fight your way through the shoggoths outside to attend another lecture...
2010-07-23
876 reads
Welcome once more to the Miskatonic branch of SQL University. Please try to concentrate. I realize the whipoorwills singing outside...
2010-07-21
663 reads
Right, all eldritch tomes are to be closed and Elder Signs are to be put away during this course.
Welcome to...
2010-07-19
753 reads
For some crazy reason (probably everyone is on vacation), Jorge Segarra (blog|twitter) who runs SQL University has asked me to...
2010-07-16
541 reads
I couldn’t hide the lead. Steve Jones (blog|twitter) has announced he’s running for the PASS board. I’m excited. I’m almost as...
2010-07-16
941 reads
The July meeting for the Southern New England SQL Server Users Group is tonight. Andrew Novick will be talking about...
2010-07-14
800 reads
You just have to love Red Gate tools. They find the small area that they want to cover and then...
2010-07-14
1,860 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