A Script A Day - Day 7 - Memory Queries
Today's script is a collection of a few memory queries I've collected from various sources over the years. These queries are by no...
2012-02-07
2,330 reads
Today's script is a collection of a few memory queries I've collected from various sources over the years. These queries are by no...
2012-02-07
2,330 reads
Today's Script will drop all database snapshots and create a database snapshot for all online read writeable user databases. I...
2012-02-06
3,877 reads
Today's script will list all principals with membership in the db_owner fixed database role.
/* ----------------------------------------------------------------- Database Owner Permissions ----------------------------------------------------------------- For more SQL resources, check...
2012-02-05
1,125 reads
Today's script allows you to keep track of how long left a statement has before it completes. I find this useful...
2012-02-04
483 reads
Today's script is a template I use for the occasions when a data edit is required to be run against...
2012-02-03
563 reads
Today's script is a collection of simple queries I have saved for a time when I need to troubleshoot database...
2012-02-02
484 reads
Today is the 1st February 2012 and as promised here is the first of script in my "A Script A Day"...
2012-02-01
572 reads
I had an interesting phone call this morning from our professional services team. They are carrying out what I can...
2012-01-26
610 reads
We as DBA’s face an ever growing list of things to do and services to support. We work in high...
2012-01-25
590 reads
In February I will be starting a series of Blog Posts I'm calling a "A Script a Day". Each day...
2012-01-24
618 reads
By Brian Kelley
If you want to learn better, pause more in your learning to intentionally review.
By John
If you’ve used Azure SQL Managed Instance General Purpose, you know the drill: to...
By DataOnWheels
Ramblings of a retired data architect Let me start by saying that I have...
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
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