-
Recent Posts
Recent Comments
- Stefan on Aliases
- jonmcrawford on Aliases
Archives
Categories
January 2021 M T W T F S S « Sep 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Meta
Tags
Activity Monitor Administration aliases blog Community Data Database Data Warehouse Design Dev Edition error File System Task Help Index Install Intellisense Intro Knowledge Links Mail Naming Conventions Notification Oracle Resources reusability Service Pack shared access speed sp_ SQL Server SSIS Strange Behavior style Syntax testing Text Message tools Try...Catch variables Virtual Machines Visual Studio Web Sites WikiBlogroll
Category Archives: SQL Server
Stored Procedures don’t necessarily stop at an error
I normally expect precedence to save me in my stored procedures. If I have six statements and the third ones fails, I expect the fourth through sixth not to run. Boy, was I wrong. Normally I test my stored procedures … Continue reading
Column Naming
When you’re designing your tables it is important to keep track of the names you’re using for the columns. Don’t just name the ID columns ID. Name them so you’ll know what table the ID belongs to. For example, if … Continue reading
Redundancy
There are certain types of redundancy that are good in the IT world: Backups, failover servers, recovery plans and the like. Most redundancy however, is bad. In the programming world, bad redundancy comes in the form of repeated code instead … Continue reading
Posted in 2008, Programming, SQL Server
Tagged Data Warehouse, Design, reusability, SQL Server
Leave a comment
Clarity in Code
Commenting code is always a good idea and there are more ways than one to comment your code. When running a long series of SQL queries it can be useful to know what has run. If you have conditional statements … Continue reading
Lecture
I went to a SQL Server lecture tonight on Virtual Machines and SQL Server by Brent Ozar. It wasn’t what I expected. The lecture was great, as have been all the ones in this lecture series, but the advice was … Continue reading
Posted in 2008, SQL Server
Tagged Resources, SQL Server, testing, tools, Virtual Machines
Leave a comment
Resources
I’d like to recommend a web site for learning SQL Server and for all your questions as you get stuck. And you will get stuck, believe me, at least if you do anything at all beyond the basics and probably … Continue reading
Data Transformation Quirk
In SSIS when creating a Data Flow Task, you’ll usually want to have a destination for your data. From everything I’ve read, if your package is running on the same server as your destination, you’ll want to use SQL Server … Continue reading
File System Task
I’ve used the File System task before, but it was to do a daily copy of files in a directory. I used copy directory so I didn’t have to specify or loop through any files. It was the same process … Continue reading
Aliases
Aliases seems to be something people don’t think much about. They learn that you can call a table or a column something else for reference elsewhere in your query and they go about using it. Sure, sometimes they can’t understand … Continue reading
How much data is there?
We’re all familiar with trying to figure out just how much data is in our database. To get approximately how much memory the whole database takes up you can open SQL Server Management Studio, right-click on the database name you’re … Continue reading