2016-08-23 (first published: 2015-05-01)
1,490 reads
2016-08-23 (first published: 2015-05-01)
1,490 reads
2013-04-17 (first published: 2013-04-03)
1,470 reads
2013-03-19 (first published: 2013-03-01)
1,061 reads
Script to generate script to detach or attach user databases
2013-02-15 (first published: 2013-01-29)
6,014 reads
Script to reorganize all indexes on all tables in user databases
2013-02-14 (first published: 2013-01-31)
3,265 reads
2013-02-06 (first published: 2012-12-27)
1,851 reads
Changes the database compatibility level of all databases to the given level.
2013-01-31 (first published: 2013-01-07)
938 reads
2012-12-03 (first published: 2012-11-07)
2,029 reads
2012-10-04 (first published: 2012-04-10)
2,031 reads
2012-07-25 (first published: 2012-07-12)
2,522 reads
By Zikato
A cryptic message, a book cipher hidden in art provenance records, and a trail...
By Steve Jones
A customer was trying to compare two tables and capture a state as a...
By Zikato
When I'm looking at a query, I bet it's bad if I see... a...
Telp Cso: (0821)8200174 Jl. Cokro Aminoto No.28, Kisaran Kota, Kec. Kota Kisaran Barat, Kabupaten...
Telp Cso: (0821)8200174 Jl. Merdeka No.39, Proklamasi, Kec. Siantar Bar., Kota Pematang Siantar, Sumatera...
Telp Cso: (0821)8200174 Jl. Asia, Simpang, Jl. Bakaran Batu No.1 C, Sei Rengas II,...
In SQL Server 2025, I have a table (dbo.UserPermission) that contains this data:
UserID UserPermissions 15 23 37 4 NULLWhat is returned when I run this code:
select bit_count(UserPermissions) as PermissionCount from dbo.UserPermission where UserID = 4;See possible answers