An Alternative Way To Get the Table's Rowcount
This article examines an alternative method for finding the rowcount of a table besides using a select count(*)
2001-10-05
4,793 reads
This article examines an alternative method for finding the rowcount of a table besides using a select count(*)
2001-10-05
4,793 reads
This article examines some of the undocumented stored procedures that exist in SQL Server 7.0
2001-09-28
7,770 reads
A look at files and filegroups in SQL Server 7.0, including some optimization tips.
2001-09-27
9,047 reads
This article examines some useful undocumented stored procedures in SQL Server 6.5
2001-09-21
3,304 reads
2001-09-03
4,533 reads
This article examines some of the common issues that may occur when installing SQL Server 7.0
2001-08-23
3,360 reads
This script will generate insert statements for the given tables. You can pass the tables names, separated by commas, into sp_DataAsInsCommand stored procedure as in the example below: EXEC sp_DataAsInsCommand 'employee,titleauthor,pub_info' Updated on 5/25/01 to correct an issue with columns that are short like a column defined as char(1), to correct another issue with the […]
2001-08-09
4,652 reads
A look at Index Statistics in SQL Server 7.0 and how to maintain them.
2001-08-02
3,262 reads
This article presents the technical details of the page layout for data in SQL Server 6.5
2001-07-30
2,739 reads
2001-07-24
7,822 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