How to Configure E-mail in SQL Server Step by Step–TIP #96
For different reason we need to send database report , data and other SQL Server database related stuff using E-mail . SQL ...
2015-04-21
612 reads
For different reason we need to send database report , data and other SQL Server database related stuff using E-mail . SQL ...
2015-04-21
612 reads
Although , It is out of box but I would like to share here. I am very choosy in food. When...
2015-04-16
545 reads
SET XACT_ABORT is one of the hidden gem we can say. It is helpful in many ways.
Let me explain by...
2015-04-14 (first published: 2015-04-04)
8,141 reads
Hello friends,
Many times we face space issues with our database. To resolve this problem SQL Server 2005 provided one more...
2015-03-23
761 reads
In last post TIP #91 we talked about What is Data compression ? What are the features ? Now in this tip...
2015-03-11
606 reads
SQL Server is a uniquely designed Relational Database Management System developed by Microsoft. Its basic functionalities include storing, manipulating and...
2015-03-09
724 reads
A part from performance many times we faced challenges related to space of our database. Sometimes our database is actually...
2015-03-08
633 reads
When we heard “Kill” then first impression of this word is very bad. We always scare with this word.
In...
2015-03-03
645 reads
Dear Friends,
In my last article (TIP 87) I wrote about PWDENCRYPT. I forgot to write few details but thanks to...
2015-02-28
1,245 reads
I the last tip TIP#88 we saw how to encrypt a password. Now in this tip I would like to...
2015-02-25
924 reads
Here’s a way to centralize management, rotate secrets conveniently without downtime, automate synchronization and...
This may or may not be helpful in the long term, but since I’m...
By Steve Jones
“I’m sick of hearing about Red Gate.” The first article in the book has...
Comments posted to this topic are about the item Dynamic T-SQL Script Parameterization Using...
Comments posted to this topic are about the item Widespread New Technology Adoption
Comments posted to this topic are about the item Multiple Sequences
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