grab our rss feed

stevienova.com

Homepage of Steve Novoselac

Entries Tagged ‘SQL 2005’

SQL 2005, SSAS 2005: Using ascmd.exe To Create SQLAgent Jobs That Give You Completion Status

In SQL2005, you can create SQL Agent jobs. They can be scheduled, have multiple steps, alert, notify, etc. Pretty great setup. There are some downfalls though.
Like in order to call a job from a job, you need to execute the second job with T-SQL. Thing is, it doesn’t run synchronously. It runs asynchronously, which [...]

Comments (4) | 1,401 views

Server Move: Hosting My Own Site(s)

Well, I have been on HostMySite for a few years now, and I just wasn’t liking it. I didn’t have control, and couldn’t do everything I wanted to. Last week I signed up with ServerBeach and I have my own dedicated server. I am running Windows 2003, IIS, SQL, MySQL, PHP, etc.
I changed for [...]

Comments (2) | 526 views

SQL Server 2005 Performance Dashboard Reports

Check these out. http://www.microsoft.com/downloads/details.aspx?familyid=1d3a4a0d-7e0c-4730-8204-e419218c1efc&displaylang=en
If you are a DBA, these are pretty much money. I have seen some many custom implementations and DBA’s trying to get reports like this, and if you have SQL Server 2005 SP2, you can download that and run a SQL script and then you have these reports. [...]

Leave a Comment | 332 views

SQL 2005: Using Data Management Views (DMV’s) to View Status of Database and Log Restores

SQL 2005 introduced some cool "data management views" (DMV’s) that let a DBA see what is happening on their database. Previously you had to use undocumented system tables and information schemas to get the info, and a lot of the info wasn’t even available. Well recently I was doing some backup/restore stuff on a database [...]

Comments (1) | 670 views

SQL 2005 SSAS Deployment Wizard - Where Did My Roles Go?

Ok.. if you are using SSAS 2005 and using the deployment wizard (not using BIDS) - probably because you want to retain your partitions or something. But anyways, if you use it and choose the option to retain your roles, you will deploy, and no one will be able to get to your SSAS DB [...]

Leave a Comment | 1,111 views

SQL Server 2005 Books Online Scoped Search

Stumbled upon this today
http://search.live.com/macros/sql_server_user_education/booksonline/
Pretty sweet, using search macros, you can search books online..well, ONLINE :)
Here is a search for DATEDIFF
http://search.live.com/results.aspx?q=DATEDIFF&go=Search&form=QBJK&q1=macro%3Asql_server_user_education.booksonline
Handy little macro if you don’t have SQL BOL installed. You can always search Google or MSDN to find the info, but this seems “scoped” for just what you need for books online, pretty cool if [...]

Comments (1) | 409 views

SQL 2005: OpenRowset, Dynamic MDX and Variable Scope

So, the other day I had to create something in T-SQL that called a MDX query using OpenRowset - this is pretty easy to do, you can query around the openrowset and get the values back you need in a T-SQL Query. This was fine when the MDX query was a static string.
The format of [...]

Comments (1) | 2,101 views

Visual Studio 2008 and SQL 2005 Careful…

Since Visual Studio 2008 came out yesterday, I installed it. One gotcha - if you already have SQL 2005 installed, check custom on the install steps, because VS2008 will install SQL Express 2005 and start up an instance of that, I had to then uninstall SQL 2005 Express. PITA :)
Technorati tags: VS2008, Visual Studio 2008, [...]

Leave a Comment | 394 views

SQL Server 2005 - UNPIVOT

The other day, working on something crazy, I came across a use for the new UNPIVOT keyword in SQL Server 2005. Now, I figured I would use PIVOT before UNPIVOT, but so it goes.
Basically I had a temp table I populated that had some columns, then columns numbered 1-10 with different values. But I needed [...]

Comments (1) | 703 views

SQL Server 2005 - Reporting Services - Windows Vista

I just got my new laptop, and I am installing Visual Studio 2005 and SQL Server 2005. Ran into a snag, that took me a little bit to find the answer.
First, SQL Server 2005 setup is just ghetto. There are two setups, “server” and “tools” and sometimes it just doesn’t work right. Anyways, only SQL [...]

Leave a Comment | 241 views