Occasionally after building a new server and installing SQL Server you try to login to it and you receive this error:
Continue reading Login timeout expired (Access Denied)…One Solution.
A network-related or instance-specific error has occurred while establishing a connection to SQL Server.
When creating queries for a data warehouse, you may need to calculate what percentage of each customers portion is to the total. This can show you what percentage of total sales each customer makes up.
Continue reading Calculate Percentage of Total
Calling an Oracle stored procedure in SSIS is a little different than calling a SQL Server version. Today I will show you the error you get if trying the SQL Server syntax and how to fix it.
Continue reading SSIS ORA-00900: invalid SQL statement calling Oracle Procedure
Today is my one year anniversary of blogging! If you would have told me 14 months ago that I would be writing a technical blog, I would have looked at you like you had two heads! It has gone very well and I have learned/reinforced some valuable skills such as TESTING/TESTING/TESTING, writing comprehensive documentation, and keeping my problem solving skills honed. See below for some stats from the previous year.
Continue reading One Year Anniversary of Blogging!
Last week we made a backup of our Oracle database using the RMAN tool. Today, I am going to show you how to be a hero and restore your database. This will be another long post, but saving your companies data is worth it.
Continue reading Restoring an Oracle Database with RMAN
Some workplaces have multiple database platforms that you will be responsible for. The main thing a DBA is responsible for is being able to recover the database in case of a disaster. Below is an easy way how to backup an Oracle database using RMAN. Is it the only way to do this? Of course not, there a literally dozens of ways depending on how complicated your environment is, but it is a legitimate way to create a backup and it will save you. In the next posting, I will show you how to restore the database onto a new server.
Continue reading Backing up an Oracle Database with RMAN
Do you have files stored in your SQL Server database and need to see what they are. Here is a way using my favorite add-in SSMSBoost.
Continue reading View Jpg’s and other file types stored in a table
Starting with SQL Server 2012, Microsoft has included analytic functions within the database. A couple that I use often, Lag and Lead, are very handy when you need to reference a previous or next row in a table without having to use self-joins or having to create a complicated sql statement.
Continue reading Analytic Function — Lag
On 2/4/2017 I went to my third SQLSaturday hosted at Hyland Software in Westlake, OH. What is SQLSaturday? From their site: “SQLSaturday is a training event for SQL Server professionals and those wanting to learn about SQL Server. Admittance to this event is free, all costs are covered by donations and sponsorships. Please register soon as seating is limited, and let friends and colleagues know about the event.” http://www.sqlsaturday.com/
Continue reading SQLSaturday #595 Cleveland 2017