Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

Eli Leiba

Eli Leiba works at Israel Electric Company as a Senior Application DBA in Oracle and MS SQL Server. He also has certifications from Microsoft and BrainBench in Oracle and SQL Server database administration and implementation. Mr. Leiba holds a B.SC. in Computer Science since 1991 and has 16 years' experience working in the databases field. Additionally Mr. Leiba teaches SQL Server DBA and Development courses at Microsoft CTEC and also serves as a senior database consultant for several Israeli start-up companies. (e-mail:  iecdba@hotmail.com)

 



Email: iecdba@hotmail.com

My Latest Content
My Latest Comments



Author Articles

Automated SQL Server Health Check Solution

By Eli Leiba, 06/17/2011

Manually monitor SQL Server instances for problems daily using this automated solution that checks CPU utilization, database status, available disk space, and more.

Execute a Stored Procedure Within a Query

By Eli Leiba, 09/17/2010

Stored procedures are typically executed with an EXEC statement. However, you can execute a stored procedure implicitly from within a SELECT statement, provided that the stored ...

Simple String Encryption and Decryption

By Eli Leiba, 10/12/2009

In SQL Server 2008 and SQL Server 2005, one of the easiest ways to encrypt and decrypt strings is to use T-SQL's ENCRYPTBYPASSPHRASE and DECRYPTBYPASSPHRASE functions.

Change Many Server Configuration Options in One Fell Swoop

By Eli Leiba, 12/23/2008

You can change many configuration options in SQL Server 2005 and SQL Server 2000 simultaneously by using a.config file and a T-SQL stored procedure that automates the use of the ...

Find Weak Database Passwords

By Eli Leiba, 09/29/2008

Use this password-cracking tool to check the complexity of the passwords being used for SQL Server database logins.

Use a Stored Procedure to Move User Tables Between File Groups

By Eli Leiba, 07/30/2008

Here's a T-SQL stored procedure that finds and moves the clustered-indexes user tables you specify from old file groups to new file groups.

T-SQL Stored Procedure Creates Trace Tables from Trace Files

By Eli Leiba, 11/20/2007

LoadTraceFileToTable loads the data from a trace file into a trace table so that you can easily sort and analyze that data.

T-SQL UDF Quickly Determines How Often a Substring Appears

By Eli Leiba, 10/25/2007

To determine the number of occurrences of a substring within a string, a user-defined function (UDF) performs a simple arithmetic calculation.

Protect Your T-SQL Objects from Deletion

By Eli Leiba, 05/23/2007

The sp_markAllMasterDBasSystem stored procedure can help protect the T-SQL objects you've created by marking them as system objects.

Procedure Helps Pinpoint Problematic Processes

By Eli Leiba, 03/22/2007

Here's a stored procedure that displays all the T-SQL statements currently being executed along with the IDs of the processes running those statements.

Easily Find Rows That Violate Constraints

By Eli Leiba, 02/23/2007

The showViolatingRows procedure automates the tedious task of finding rows that violate check and foreign-key constraints.

Summarize All the Constraints for a Table

By Eli Leiba, 10/26/2006

The sp_showConstraints stored procedure is an alternative to using sp_helpconstraint when you need to find all the constraints for a table.

Optimize the Size of Your Indexed Integer Columns

By Eli Leiba, 04/10/2006

Together, the suggestIntType and scanIntIndex procedures search for indexed integer columns in a database and determine whether the optimal data type is used for those columns.

Stored Procedures Work in Concert to Import and Export Data

By Eli Leiba, 02/13/2006

Here’s a simple yet generic solution for exporting or importing data. This solution consists of two stored procedures: BCPObject and ExpOrImpDB.

Quickly Retrieve a List of Available Media Resources

By Eli Leiba, 01/31/2006

The sp_GetAllSQLMediaTypes stored procedure lists the names of all the available media and their types on a SQL Server machine.

Extend the sp_spaceUsed Procedure’s Usefulness in Obtaining Transaction Log Statistics

By Eli Leiba, 01/31/2006

By compiling sp_LogSpace in a master database and calling it from an updated version of sp_SpaceUsed, you can extend the ability of sp_SpaceUsed to obtain transaction log ...

Don’t Let Resource-Intensive Sessions Consume All Your Resources and Time

By Eli Leiba, 12/12/2005

The getMaxResourceConsumeSessions stored procedure lets you quickly identify the sessions that are consuming most of a SQL Server machine's resources.

Dynamically Obtain a SQL Server’s IP Address in T-SQL Code

By Eli Leiba, 10/31/2005

The getSQL_IPaddr.sql procedure uses the Ipconfig utility to dynamically find the IP address of a server running Microsoft SQL Server.



White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.