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,789 reads
This article examines an alternative method for finding the rowcount of a table besides using a select count(*)
2001-10-05
4,789 reads
This article examines some of the undocumented stored procedures that exist in SQL Server 7.0
2001-09-28
7,753 reads
A look at files and filegroups in SQL Server 7.0, including some optimization tips.
2001-09-27
9,031 reads
This article examines some useful undocumented stored procedures in SQL Server 6.5
2001-09-21
3,299 reads
2001-09-03
4,455 reads
This article examines some of the common issues that may occur when installing SQL Server 7.0
2001-08-23
3,358 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,647 reads
A look at Index Statistics in SQL Server 7.0 and how to maintain them.
2001-08-02
3,255 reads
This article presents the technical details of the page layout for data in SQL Server 6.5
2001-07-30
2,736 reads
2001-07-24
7,810 reads
You can find the slides of my session on the €100 DWH in Azure...
By Steve Jones
This value is something that I still hear today: our best work is done...
By gbargsley
Have you ever received the dreaded error from SQL Server that the TempDB log...
Hi everyone I am writing an SP where there is logic inside the SP...
Comments posted to this topic are about the item Planning for tomorrow, today -...
We have a BI-application that connects to input tables on a SQL Server 2022...
I try to run this code on SQL Server 2022. All the objects exist in the database.
CREATE OR ALTER VIEW OrderShipping AS SELECT cl.CityNameID, cl.CityName, o.OrderID, o.Customer, o.OrderDate, o.CustomerID, o.cityId FROM dbo.CityList AS cl INNER JOIN dbo.[Order] AS o ON o.cityId = cl.CityNameID GO CREATE OR ALTER FUNCTION GetShipCityForOrder ( @OrderID INT ) RETURNS VARCHAR(50) WITH SCHEMABINDING AS BEGIN DECLARE @city VARCHAR(50); SELECT @city = os.CityName FROM dbo.OrderShipping AS os WHERE os.OrderID = @OrderID; RETURN @city; END; goWhat is the result? See possible answers