Login
Discover
Waves
Decks
Plus
Login
Signup
Topics
New
Trending
Hot
New
New
Trending
Hot
New
Payouts
Muted
Promoted
Global
Top communities
Create decentralized community
latest #tsql created topics on internet
sqlinsix
data
2021-11-05 12:24
Creating a GUID For Each GUID
Creating a GUID for each GUID
$ 0.720
14
sqlinsix
data
2021-09-18 16:36
Transaction Log Becoming Full Due To Replication
Solving transaction log being full due to replication
$ 1.433
9
1
sqlinsix
sqlserver
2021-03-26 08:31
ARITHABORT Settings, Query Speed and Applications Running Queries
Why does our query run fast in Sql Server management studio but slow in our application?
$ 0.693
7
sqlinsix
data
2021-03-14 08:51
Using IF Statements With T-SQL
How to write if statements in SQL Server
$ 0.160
3
pedrobrito2004
LOLZ's Fun House
2026-04-04 20:22
Promoted
(Humor) Salaries + Salarios. [Eng+Spa]
A man goes to a job interview, and when they talk about salary, they say the following: —Well, you'll start at US$1000 and later you'll reach US$2000. —Oh, well then, I'll come back later. +++++++++*+++
$ 0.091
31
1
sqlinsix
data
2021-02-27 17:53
Easily Getting the Number of VLFs For A Database
How to quickly get the VLF count for a database in SQL Server
$ 0.153
4
sqlinsix
data
2020-07-01 09:57
Transaction Log Becoming Full Due To Replication
Review the solution and discussion in the video The transaction log for database 'DB' is full due to 'REPLICATION'. We do not want to develop the habit of micro-managing transaction logs, so we should
$ 0.108
10
sqlinsix
data
2020-06-29 08:20
Shrinking A File In SQL Server
Check out the solution in the video TSQL: DBCC SHRINKFILE Part I. Depending on the environment and setup, we may be required to shrink a file in SQL Server (such as a log file). Lower environments (generally,
$ 0.204
5
sqlinsix
data
2020-06-22 08:42
Using IF Statements With T-SQL
In the video T-SQL: How To Use If Statements, we look at how to use IF statements with T-SQL. These can be an alternative to CASE WHEN statements in some situations (see video T-SQL: How To Use CASE WHEN
$ 0.307
5
tonyz
photography
2026-04-04 14:55
Promoted
Gangsters love Hive.
Playing with Grok AI. Happy Easter all!
$ 1.772
126
1
sqlinsix
data
2020-05-08 08:37
Finding Values In One Table That Aren't In Another Table
Check out the solution in the video TSQL: Find Values In One Table Not In Another Table. In the example, we see how to identify data in one table that does not exist in another table. This may be extremely
$ 0.076
1
sqlinsix
data
2020-05-03 10:00
Getting Open Transactions With DBCC OPENTRAN
Check out the solution in the video TSQL: DBCC OPENTRAN. In honor of one of my favorite DBAs, we look at using the DBCC OPENTRAN. We simulate an example with this technique and show what we see and what
$ 0.000
0
sqlinsix
data
2020-05-02 08:10
Violation of Primary Key (SQL Server)
Check out the solution in the video (ETL) Violation of PRIMARY KEY constraint 'PK_Constraint' - Different Source and Destination Keys. One pattern I've seen quite often is developers changing primary keys
$ 0.000
1
sqlinsix
data
2020-04-30 09:52
Object Doesn't Exist Or You Lack Permissions In SQL Server (Naming)
Check out the solution in the video Cannot find the object sp_Name because it does not exist or you do not have permission (naming). While this error should rarely appear, it serves as a reminder to avoid
$ 0.000
0
darth-azrael
photography
2026-04-03 16:59
Promoted
Vintage Photos - Lot 6 (190-193)
The photos in this set were takin in Michigan between 1957 and 1967.
$ 0.104
44
sqlinsix
data
2020-04-29 08:32
Should We Use the NOLOCK Hint?
Check out the discussion in the video . A colleague once shared a story of a company that dismissed a developer because the developer had run a query counting records without using NOLOCK. The OLPT environment
$ 0.000
0
sqlinsix
data
2020-04-27 09:30
Getting the Median In T-SQL and Why
We look at median overall and with T-SQL in What Is Median? Why Use Median?. As you can see, we see one way in which we can obtain the median using T-SQL. We also notice a comparison of average versus
$ 0.000
0
sqlinsix
data
2020-04-26 17:38
Quickly Obtain Log Space Used In SQL Server
Check out the solution in the video TSQL: Quickly Obtain Log Space Used (DBCC SQLPERF). Prevention beats cure, but this is a great command for those situations we haven't had time to look at and need to
$ 0.000
0
sqlinsix
data
2020-04-24 08:24
Investigating the SOS_SCHEDULER_YIELD Wait Type
Check out the solution in the video Wait Types Part IX: SOS_SCHEDULER_YIELD. Before you dive into the system, make sure you understand the architecture, as we expect to see some wait types such as these
$ 0.000
2
tonyz
Black And White
2026-04-04 13:45
Promoted
Spiders web. Monomad Challenge.
Amazing nature.
$ 4.818
794
3
sqlinsix
data
2020-04-23 08:16
Getting Maximum Column Lengths In SQL Server
Check out the solution in the video TSQL: Get Maximum Length of Every Column On A Table. This can be helpful if we require strict limits in downstream tables, assuming that we have a data flow where we
$ 0.000
0
sqlinsix
data
2020-04-22 09:08
Getting the Last Restore Date In SQL Server
Check out the solution in the video TSQL: Get Last Restore Date. I've faced situations where backups were failing, but we didn't have any warnings, so running this query and organizing the output by latest
$ 0.000
2
sqlinsix
data
2020-04-21 08:25
Using Table Locks Hints
Check out the discussion about table lock hints in the video TSQL: TABLOCK vs. TABLOCKX (vs. Normal Process). We look at the actual results of using the different hints and consider whether we'd want to
$ 0.000
0
sqlinsix
data
2020-04-19 10:01
Violation of PRIMARY KEY Constraint - When Source And Destination Keys Differ
Check out the solution in the video (ETL) Violation of PRIMARY KEY constraint 'PK_Constraint' - Different Source and Destination Keys. While it's rare to see, from time to time, I do see a design where
$ 0.000
0