How do we insert the results of the stored procedure in a table?
This question has two crinkle answers –· When the table is already created.
· When the table is to be created run...
2015-11-13
139 reads
This question has two crinkle answers –· When the table is already created.
· When the table is to be created run...
2015-11-13
139 reads
Page splits can slow down your queries and increase the amount of I/O needed to retrieve your data.
So, how do...
2015-11-13
2,156 reads
I ran into Ed Leighton-Dick last week at the PASS Summit and we were chatting about the SQLNewBlogger challenge he...
2015-11-13 (first published: 2015-11-06)
1,021 reads
I’m taking a short break from technical talk today to spend a few minutes thinking about life. My wife started...
2015-11-13
549 reads
T-SQL Tuesday is here again. I’ve had good intentions the past few times this event has come around and even...
2015-11-13 (first published: 2015-11-10)
1,975 reads
Twice in two days now, I’ve gotten in discussions with people about the state of data usage…the idea that we have...
2015-11-12
697 reads
Everyone has a story; some stories are similar while some stories are vastly different. People always make the statement that...
2015-11-12
621 reads
I wrote recently on Git Push in SQL Source Control (SOC), and now wanted to add the other side of...
2015-11-12
1,330 reads
This isn’t something you have to do frequently, but sometimes you don’t want the users to have access to certain...
2015-11-12
670 reads
I have made some changes to the way MergeUi works and also moved it into a new repository (https://github.com/GoEddie/SSDT-DevPack).
The way MergeUi used to work was that it enumerated the...
2015-11-12
3 reads
By Ed Elliott
Running tSQLt unit tests is great from Visual Studio but my development workflow...
By James Serra
I remember a meeting where a client’s CEO leaned in and asked me, “So,...
By Brian Kelley
If you want to learn better, pause more in your learning to intentionally review.
Hello team Can anyone share popular azure SQL DBA certification exam code? and your...
Comments posted to this topic are about the item Faster Data Engineering with Python...
Comments posted to this topic are about the item Which Result II
I have this code in SQL Server 2022:
CREATE SCHEMA etl;
GO
CREATE TABLE etl.product
(
ProductID INT,
ProductName VARCHAR(100)
);
GO
INSERT etl.product
VALUES
(2, 'Bee AI Wearable');
GO
CREATE TABLE dbo.product
(
ProductID INT,
ProductName VARCHAR(100)
);
GO
INSERT dbo.product
VALUES
(1, 'Spiral College-ruled Notebook');
GO
CREATE OR ALTER PROCEDURE etl.GettheProduct
AS
BEGIN
exec('SELECT ProductName FROM product;')
END;
GO
exec etl.GettheProduct
When I execute this code as a user whose default schema is dbo and has rights to the tables and proc, what is returned? See possible answers