Table Variables, CTE and Temp Tables. Which one should I use?
There are several really good blogs that already exists that explain the differences between Table Variable, Common Table Expressions (CTE)...
2015-01-05
1,180 reads
There are several really good blogs that already exists that explain the differences between Table Variable, Common Table Expressions (CTE)...
2015-01-05
1,180 reads
What a fun week we have tuned up for the folks in Las Vegas. It is the first full week of January and there is this huge convention going...
2015-01-05
11 reads
What a fun week we have tuned up for the folks in Las Vegas. It is the first full week...
2015-01-05
553 reads
#Tl;dr article (time constraints prevented me from reworking significantly)
An article on SQL-Server-pro was forwarded over to me to research by...
2015-01-08 (first published: 2015-01-05)
8,583 reads
Today, I was reminded that global temp tables scope lasts for the session, and doesn't last beyond that. The difference...
2015-01-05
780 reads
In a recent post, I described an attack against a privileged account using a simple SQL Injection technique of updating...
2015-01-05
857 reads
Some effects on plan cache and max memory settings
Related Posts:
The Curiously Large CASE Statement March 20, 2019
Maintenance Plan Owner - Back to Basics December 13, 2018
ArithAbort and...
2015-01-05
10 reads
Reading a Microsoft Article (which can be found here) while making sure I understood what can cause a query plan to...
2015-01-07 (first published: 2015-01-05)
7,971 reads
I know it’s late but I’ve been away, I hope you all had a good Christmas and New Year.
I...
2015-01-05
654 reads
Every month SQL Judo (Russ Thomas) (b/t) challenges us to do his Monthly DBA Challenge. I’ve decided it would be...
2015-01-08 (first published: 2015-01-05)
6,261 reads
By alevyinroc
T-SQL Tuesday is a monthly blog party hosted by a different community member each...
The first version of my accounting assistant could not find a single purchase of...
Why isn’t AI paying off yet? Drawing on lessons from digital transformation, Joyful Craftsmen...
Comments posted to this topic are about the item Pay for Performance, which is...
WhatsApp:0817819444 Jl. KH. Wahid Hasyim No.20, Jombang, Kec. Jombang, Kabupaten Jombang, Jawa Timur 61415
WhatsApp:0817819444 Jl. Jend. Sudirman No.6, Mulyoharjo, Kec. Pemalang, Kabupaten Pemalang, Jawa Tengah 52313
I have a table, dbo.MasterBrands, with this data:
BrandID OfficialName 1 Samsung 2 Apple 3 Microsoft 4 Adidas 5 Coca-ColaI run this query. What is returned for Coca-Cola?
SELECT CHOOSE(BrandID, 'Conglomerate', 'Tech and Design', 'Desktop', 'Apparel') FROM dbo.MasterBrands;See possible answers