Miscellaneous

SQLServerCentral Article

A SAN Primer

  • Article

Storage is getting cheaper and cheaper, which means that more and more SQL Server servers will be incorporating SAN storage as an architecture moving forward. It seems that most DBAs, however, have never worked with this technology. New author Hugh Scott brings us a primer on this Storage Area Networks for DBAs new to this technology.

(5)

You rated this post out of 5. Change rating

2005-06-22

15,361 reads

Technical Article

Sproc to get First Day of the Month,First Weekday ETC

  • Script

First Day of the Month, First Weekday, Total Days in this Month, Days In First WeeK, Days In Last Week,Total Weekend Days sample output: Given Date:Jul 16 2005 12:00AM First Day of the Month:7/1/2005 First Weekday (sun=1,sat=7):6 Total Days in this Month:31 Days In First Week:2 Days In Last Week:1 Total Weekend Days:10

You rated this post out of 5. Change rating

2005-07-15 (first published: )

224 reads

SQLServerCentral Article

Telecommuting DBAs

  • Article

While many things in technology decline in price over time, there are few things that do not, space being one of them. In response to other recent writings on the life work balance and other career articles for SQL Server DBAs, new author Sushila Iyer brings us a look at how telecommuting can be of benefit to both the DBA and the employer.

(1)

You rated this post out of 5. Change rating

2005-06-21

7,383 reads

Technical Article

Script To Compute Checksum Of The Text Field

  • Script

It is a known fact, that checksum function can not be applied to text, ntext and image fields. But sometimes it is necessary to compare whether a value in a text field has changed (although it is not guaranteed that checksum generates a unique value, but it still could be used as a good estimator). […]

You rated this post out of 5. Change rating

2005-12-16 (first published: )

1,175 reads

Technical Article

BASE64 Encode and Decode in T-SQL - optimized

  • Script

This is just an optimized version of Daniel Payne's two scripts, base64_encode and base64_decode, with changes to end-of-block handling and a bug fix or two. If the encoded string ends in =, the last character is truncated. If ending in ==, two characters are chopped off. That seems better than replacing NUL characters with spaces, […]

(5)

You rated this post out of 5. Change rating

2006-12-18 (first published: )

7,718 reads

Technical Article

IsDateAHoliday UDF **NEW**

  • Script

This is a replacement script for the first IsDateAHoliday. The first one was too slow and inefficient. This one is much better. Enjoy.IsDateAHoliday is a User Defined Function that accepts a date and returns a 1 if date is a national holiday and returns a 0 otherwise.The holidays are:New years Day, MLK Day, Presidents Day, […]

(2)

You rated this post out of 5. Change rating

2005-06-03

417 reads

Technical Article

Monitoring and logging Reportserver

  • Script

This Stored Procedure gives you live information of the workload on the reportserver and information about who uses wich report and how often a report is startedA report based on this SP with a short refresh time gives you a live monitoring tool.

You rated this post out of 5. Change rating

2005-06-24 (first published: )

422 reads

Blogs

PlanTrace: Stop Reading Redshift EXPLAIN Plans. Start Seeing Them

By

PlanTrace: Stop Reading Redshift EXPLAIN Plans. Start Seeing Them Introducing PlanTrace — a free, browser-based...

A Cloud Dependency Failure from Amazon

By

I went to sleep while reading a Kindle book on my phone. I know...

Deploying AI in logistics (the unfiltered version)

By

A conversation with Jan Laš, CIO at HOPI, about what deploying a data agent...

Read the latest Blogs

Forums

Kantor BCA KCP Mangunsarkoro Telp/wa 085169998803

By Exam Alert

Telp/wa 085169998765 Jl. Mangunsarkoro No.24, Pamoyanan, Kec. Cianjur, Kabupaten Cianjur, Jawa Barat 43211

BCA KCP Kartini Telpon/wa:0813.7887.595

By bomchuachay34

BCA KCP Kartini Telpon/wa:0813.7887.595.Komplek Apartemen Grand Kartini, Ruko. 18, Jl. Kartini Raya No.57, Daerah...

BCA KCP Prima Sunter Telp/WA.0821°3111°179

By Cakhia TV Bóng Đá Trực Tuyến

Telp/WA.0821°3111°179 Jl. Danau Sunter Utara No.A2-A3, Sunter Jaya, Kec. Tj. Priok, Jkt Utara, Daerah...

Visit the forum

Question of the Day

Creating a JSON Document III

I have this data in a table called dbo.NFLTeams

TeamID  TeamName       City             YearEstablished
------  --------       ----             ---------------
1       Cowboys        Dallas           1960
2       Eagles         Philadelphia     1933
3       Packers        Green Bay        1919
4       Chiefs         Kansas City      1960
5       49ers          San Francisco    1946
6       Broncos        Denver           1960
7       Seahawks       Seattle          1976
8       Patriots       New England      1960
If I run this code, how many rows are returned?
SELECT TOP 2 
  json_objectagg('Team' : TeamName)
FROM dbo.NFLTeams;

See possible answers