Step by Step Guide to SQL Server AlwaysOn
AlwaysOn technology in MS SQL Server is designed to increase the availability of your database, it is another step toward...
2017-06-21 (first published: 2015-08-06)
16,869 reads
AlwaysOn technology in MS SQL Server is designed to increase the availability of your database, it is another step toward...
2017-06-21 (first published: 2015-08-06)
16,869 reads
Let`s consider a situation when you need to build a server with SQL Server used by multiple client applications. Here...
2015-08-03
16,683 reads
This is a first article in a series of articles about real life database and IT infrastructure migration project which...
2015-07-31
3,331 reads
Today we can already say with certainty that the most striking innovation in the MS SQL 2014 is the In-MemoryOLTP. In-Memory...
2015-07-24
1,208 reads
It may happen so that you don`t know the password of sa user for SQL Server you inherited from somebody....
2015-07-31 (first published: 2015-07-23)
4,771 reads
In this article we`re going to address the question about autogrowth settings of the database. To be more precise we`re...
2015-07-30 (first published: 2015-07-21)
7,819 reads
While trying to restore SQL Server database or do any other actions which require exclusive database access you may face...
2015-07-20
8,256 reads
Sooner or later every DBA needs to purge old data from database tables. And it often happens that such tables...
2015-07-17
3,546 reads
Paging is one of the most highly required features during application development process. Microsoft has introduced various features since the...
2015-07-16 (first published: 2015-07-13)
2,855 reads
If you need to create an index in order to improve performance of the queries running against table variable (@temptable)...
2015-07-10
4,496 reads
By Brian Kelley
Following the advice in Smart Brevity improves communication.
By John
Microsoft has released SQL Server 2025, bringing big improvements to its main database engine....
By Steve Jones
A customer was asking about what certain items in Redgate Monitor mean. They have...
Comments posted to this topic are about the item Which Table I
Comments posted to this topic are about the item Using Python notebooks to save...
Comments posted to this topic are about the item Your AI Successes
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
SELECT ProductName
FROM product;
END;
GO
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