Quantcast
Channel: Rod Cerrada - SQL Server/T-SQL
Browsing latest articles
Browse All 7 View Live

Image may be NSFW.
Clik here to view.

Setting Up Database Role with the Least Privilege for Database Security

Most of the engineers and database developers often overlooked the importance of database role in database integretiy and security. Often use db_owner during development to make it easy and simple but...

View Article


COALESCE to Concatenate Query Result and PIVOT Dynamic Columns

Concatenate Query ResultThere are cases we want to concatenate the result of our query to display single row result. Normally we use cursor to concatenate  results but cursor is a very expensive query...

View Article


Image may be NSFW.
Clik here to view.

Setting Up Credentials for SQL Server Reporting Services

ProblemWe setup a new SQL Server Database in a new box that will serve us the production database server. It will also host the Sql Server Reporting Service (SSRS). After all are setup, SSRS returns...

View Article

Image may be NSFW.
Clik here to view.

Recovering SQL Server Built-in Administrator Access to Database

ProblemBuilt-in administrators account was accidentally removed and you don't have the SA password. If you are a member of the Administrators group in your machine and built-in administrators has no...

View Article

Inserting Rows Into Temporary Table Without Defining Columns

While working on reports my wife ask me "Is there a way I can do bulk insert into a temporary table without enumerating the columns needed?". The next day the same question was ask by my coleague in...

View Article


Image may be NSFW.
Clik here to view.

Configuring and Using SQL Server 2008 FILESTREAM

OverviewFilestream enable SQL Server Database to store binary (VARBINARY(MAX)) data into NTFS file system with no impact to SQL DML (Data Manipulation Language). Filestream increases the performance...

View Article

Creating Scheduled Backup in SQL Server Express

SQL Server experess does not includes SQL Server Agent that manages SQL jobs. In this case we could not create job that will manage the schedule of backup. We can create backup manually by using SQL...

View Article
Browsing latest articles
Browse All 7 View Live