Finding the first day of the Month
This script derives the first day of the month and the last day of the previous month...
2002-04-04
441 reads
This script derives the first day of the month and the last day of the previous month...
2002-04-04
441 reads
Have you faced a situation where you want to have the latest currency rates available upto a particular date. Normally you may have to run sub queries but derived tables is the easiest way to do.
2002-04-04
279 reads
The fastest way of getting LastDayPreviousMonth / FirstDayCurrentMonth
2002-04-04
194 reads
This procedure will let you execute existing stored procedure with several sets of multiple parameters like: exec _ParamSplit_SP 'ColorSP', "258,'RED';367,'BLUE';125,'GREEN'",";" it will be the same as exec ColorSP 258,'RED' exec ColorSP 367,'BLUE' exec ColorSP 125,'GREEN'Created for SQL 7
2002-04-03
852 reads
The script calculates the end and the beginning of the last, the current and the next months.
2002-04-01
975 reads
This script is actually part of an article written about performing a simple password audit on SQL Server logins when you start to administor a new SQL Environment. The script will scan the sysxlogins table located in the master database for SQL Server logins with no passwords, passwords that are the same as the login […]
2002-03-27
1,544 reads
2002-03-27
2,845 reads
When deleting data from many tables, foreign key constraints can force you to specifically order your DELETE commands. This can take tons of time, especially if you have many tables. Here's a technique I use to delete data in the correct order during the restaging of test databases.It makes use of the system stored procedure […]
2002-03-22
1,595 reads
We often make changes in the test databases. But failure in making even the smallest change in the production database may lead to unwanted situations.This utility compares 2 databases.Parameters to be passed @DB1 Database 1 (SysName) @DB2 Databse 2 (SysName) @ShowDifferentOnly see later (Bit) Parameters 1, 2 may include server name as well. […]
2002-03-22
504 reads
Soundex is not particularly good, So here is a better name matching algorithm.Add an: ALTER TABLE Contacts ADD DoubleMetaphone AS dbo.DoubleMetaPhone(Contacts.Surname)and then you can use this for de-duplicating contact data.
2002-03-21
1,521 reads
By Steve Jones
Experience is overrated. Most breakthrough accomplishments were done by people doing them for the...
By Brian Kelley
As you begin the new year, if you don't already have time set aside...
By Brian Kelley
I picked up Never Split the Difference: Negotiating As If Your Life Depended On...
Comments posted to this topic are about the item Insiders Selling Data
Table A ServerName ColB ServerA C ServerA I ServerA L ServerA M ServerA N...
Hello everyone, I am about to start a data archiving project that will affect...