Miscellaneous

SQLServerCentral Article

Selecting a Web Host for your SQL Server Driven Website Part 1

  • Article

Many of us have SQL Servers at work that we learn on, test with work, etc. But getting your own SQL Server for a website can be a tricky thing. Especially on a budget. Or maybe your company wants to have their website hosted. Before you spend any hard earned money, read this two part series by Jon Reade on what to look for when setting up a SQL Server hosting company.

You rated this post out of 5. Change rating

2005-04-19

6,174 reads

Technical Article

Execute SQL-DMO Database method on all databases

  • Script

This script allows you to specify a method and a server (or multiple servers.) It will then execute the method on every database on the server. With very minor tweaking you could have it search for the servers, then call the server db script with each one, or add another nesting to call tables or […]

You rated this post out of 5. Change rating

2005-04-27 (first published: )

725 reads

Technical Article

Create property methods for fields using query

  • Script

Probably, many of you know this trick, but I thought it might be useful to people who doesn't know it. This script, when run in query analyzer with text output selected, simply creates property methods code. This example is written for creating property methods for c#. But you can modify it for any language. The […]

You rated this post out of 5. Change rating

2006-02-28 (first published: )

175 reads

Technical Article

sp_gen_checksum_selects

  • Script

Compile in master. Set your QA output to text. When run from the db of interest it generates checksum select statements for each user table in the db composed of the PK columns and a checksum for all columns excluding text, ntext, image and sql-variant. There are no parameters. Modify for your own use. Save […]

You rated this post out of 5. Change rating

2005-12-19 (first published: )

194 reads

SQLServerCentral Article

SQL Server Scripting and WMI

  • Article

Ever been paged while out with your family for some SQL Server problem that had you cutting an evening short? New author Anthony Loera has and he brings us some scripts that he uses to handle some of those crisis from any email device, PDA, phone, and keep him in front of his kids on the weekends.

You rated this post out of 5. Change rating

2005-04-11

23,605 reads

Technical Article

ufn_vbintohexstr

  • Script

A function to convert varbinary to hex string. Have you every tried to deal with varbinary via T-SQL? Passwords and SIDs are of this datatype. In Query Analyzer this datatype displays as hex string but under the hood it is binary. Try concatenating a varbinary to a string in a print statement and you get […]

(2)

You rated this post out of 5. Change rating

2005-06-09 (first published: )

254 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

Cara buka blokir Bank Jago terkunci

By edwin.kuster

menghubungi Tanya Jago via WhatsApp resmi (+62821-714-2959/0813-2244-602), Call Center 1500 746, fitur "Lupa Password"...

Cara buka blokir akun Bank Jago yang terkunci (karena salah PIN/Password 3 kali)

By edwin.kuster

dapat dilakukan dengan menghubungi Tanya Jago melalui WhatsApp resmi di 08132244602 atau +62821-714-2959, menghubungi...

Cara membuka blokir Bank Jago Terbokir saat transaksi

By edwin.kuster

Cara membuka blokir Bank Jago Terbokir saat transaksi dapat dilakukan dengan menghubungi layanan Tanya...

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