Roy Carlson


SQLServerCentral Article

Running a Query Using a Text File for Input

When automating administrative actions for SQL Server, there are a number of ways to handle the workflow. Longtime SQL Server DBA Roy Carlson brings us a technique for using a text file as input to the standard SQL Server tools.

4.5 (2)

You rated this post out of 5. Change rating

2008-01-14 (first published: )

20,522 reads

Technical Article

Monitoring File Sizes in SQL Server Part 3

Trending the size data for your databases can be crucial when ordering new hardware or just ensuring that you can handle the load. In Part 3, Roy Carlson looks at how you get the sizes needed for your instances into Excel and generate a chart for trending of this important piece of performance data.

You rated this post out of 5. Change rating

2006-11-08

5,933 reads

Technical Article

Monitoring File Sizes in SQL Server Part 1

Monitoring the file sizes and free space on your SQL Server can be done in a number of ways, but it needs to be done or you will get a phone call when you least expect it. In an interesting read, Roy Carlson brings us a great way with code and reporting to setup your own monitoring system.

You rated this post out of 5. Change rating

2006-11-06

11,884 reads

SQLServerCentral Article

No Outlook for Alerts!

SQL Server 2000 has a fantastic subsystem for alerting the DBA and keeping him or her informed as to the state of the server. However the email subsystem introduces a dependency on Outlook for alerts that can be a problem for some environments. Author Roy Carlson brings us an ingenious method for reading logs and sending alerts without Exchange or Outlook.

You rated this post out of 5. Change rating

2005-09-12

12,490 reads

SQLServerCentral Article

Scripted Server Snapshot

Users call and complain and by the time you get to the server, everything looks fine. Even running Profiler sometimes doesn't capture the information. Author Roy Carlson found a solution, a script that you can give to users to dump whatever information you need to an Excel file.

You rated this post out of 5. Change rating

2005-07-12

8,681 reads

SQLServerCentral Article

You Want To Do What, with MY Database?

SQL Server 2000 is an extremely powerful and flexible development platform, but if the users mess up the data, there's nothing you can do. Protecting the integrity sometimes means severely limiting access to users. Roy Carlson brings us a technique using sp_makewebtask that you can easily use to provide users with some data without giving them query access.

5 (2)

You rated this post out of 5. Change rating

2005-05-17

15,051 reads

SQLServerCentral Article

Know Your Data

Or at least the types of your data. New author Roy Carlson was working in SQL Server 2000 to calculate some values based on row counts, sales amounts, etc. and discovered some interesting results. Without his sharp eye, a number of individuals would have been upset by the resulting lack of commissions, as may some of your clients. Read about some potential problems in your calculations if you are not careful with your data types.

You rated this post out of 5. Change rating

2005-04-04

6,656 reads

Blogs

Convert SQL Audit Files to a CSV Using Read-SqlXEvent

By

SQL Server Audit is an efficient way to track and log events that occur...

Control Flow Restartability in Azure Data Factory

By

I presented at SQL Saturday Pittshburgh this past weekend about populating your data warehouse...

Monday Monitor Tips: Knowing Your RPO

By

A customer was asking recently about the RPO for their estate, and I showed...

Read the latest Blogs

Forums

The Modern Algorithm of Chance

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Modern Algorithm of Chance

Use Logic Apps To Save Money In Azure: Data Engineering in Fabric

By John Miner

Comments posted to this topic are about the item Use Logic Apps To Save...

AWS Services Using SQL for Big Data Analysis

By Additional Articles

Comments posted to this topic are about the item AWS Services Using SQL for...

Visit the forum

Question of the Day

Crazy Code I

I have this data in my Customer table:

CustomerID CustomerName
1          Steve
2          Andy
3          Brian
4          Allen
5          Devin
I run this code:
SELECT
  t.CustomerID
, c.value
FROM
  ( SELECT
      CustomerID
    , STRING_AGG (CustomerName, ',') AS me
    FROM customer
    GROUP BY CustomerID) t
  CROSS APPLY STRING_SPLIT(me, ',') c;
What is returned?

See possible answers