Rudy Rodarte . com

Programming

Programming topics can cover SQL, Windows and Windows Phone Development.

Use SQL Server DMVs to find a table’s IDENTITY Column

Use SQL Server DMVs to find a table’s IDENTITY Column

Use SQL Server DMVs to find a table’s IDENTITY Column. The SQL Server DMVs sys.objects and sys.columns contain valuable information that can identify IDENTITY Columns.

Nov, 30
Learn about line breaks when creating dynamic SQL.

Incorrect syntax near ‘GO’ when creating Dynamic SQL

Learn about line breaks when creating dynamic SQL.

Sep, 20
Querying an Oracle linked server fails

Querying an Oracle linked server fails

The other day, I needed to pull some data from an Oracle server on our network. The oracle server was set up as a linked server on my SQL Server 2005 machine. For some reason, ...

Jun, 08
Great Circles in SQL Server 2005 and SQL Server 2000

Great Circles in SQL Server 2005 and SQL Server 2000

Recently, I had a request to calculate the distance between 2 GPS coordinates. Now, the system I am working with is SQL Server 2005. SQL Server 2008 gives us the geography data type, which is ...

May, 14
Automatic Index Rebuilding

Automatic Index Rebuilding

While working on a large project, I found that the queries were running slower and slower as the days went on. We were working with current and historical data and were only joining about 3-5 ...

Apr, 23
Kill all Connections to a Database in SQL Server

Kill all Connections to a Database in SQL Server

One of the databases I work with runs a ton of updates overnight and in the early morning. Now, from time to time I run into a problem where a user has a lock on ...

Mar, 23
Importing Data into SQL Server – Using Excel Shortcuts

Importing Data into SQL Server – Using Excel Shortcuts

I’ll be the first to say, the switch from DTS to SSIS was painful. DTS would go through a lot of implicit conversions so you didn’t have to worry or think about them. But SSIS ...

Mar, 17

Navigation

Please use the navigation to move within this section.