Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
VB VB (1648)
VB.net VB.net (736)
C# C# (15)
ASP.net ASP.net (779)
ASP ASP (41)
VC++ VC++ (25)
PHP PHP (0)
JAVA JAVA (4)
JScript JScript (5)
  Database
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
Automation
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
OS/Networking
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
Graphics
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
Links
» ASP.net (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» VB.net (4)
» VC (3)
» HTML/CSS/JavaScript (10)
Tools
» Regular Expr Tester
» Free Tools

(Page 4 of 6) 171 Result(s) found 

 

Minimum value from 4 variables - datetime example.
Total Hit (2068) This scripts shows how to obtain minimum value of four 4 datatime values contained in local variables. This method can be adapted to any datatye supported by the the SQL Server MIN function. This technique basically eliminates the writing of series of IF..ELSE or CASE statements. ....Read More
Rating
How to generate sequence numbers based on values in multiple columns?
Total Hit (1509) This is similar to doing an ORDER BY on the required columns & counting the rows from the top.
Rating
Getting the second recent date from a set of values.
Total Hit (1809) ANSI & T-SQL specific solutions for getting the 2nd recent date from a set of values. This can be extended to answer nth date from a set of values but the ANSI version gets unwieldy & has to be modified for bigger values.
Rating
Search for combination of column values in different rows.
Total Hit (1576) One solution for searching for combination of column values in different rows. Please see the script for more details & example.
Rating
How to generate combinations of values in SQL Server?
Total Hit (1547) Demonstrates the application of the CUBE operator for SELECT statement.
Rating
Strip dirty characters from a numeric string.
Total Hit (1732) A technique to search & remove dirty characters from a numeric string. This problem shows how you can simplify the solution by looking at only what is needed.
Rating
An aggregation problem in a topic, seminars & registration scenario.
Total Hit (2532)
Rating
Finding average of top 3 scores for each player.
Total Hit (2336) Solution for determining the top 3 scores for each player in a game. This script demonstrates several SQL techniques both ANSI & T-SQL specific.
Rating
Case-sensitive replace for strings on case-insensitive server.
Total Hit (1639) A sample script that demonstrates how to perform case-sensitive search & replace on a case-sensitive server. This script demonstrates some of the least known features of the T-SQL string functions.
Rating
Storing date & time values separately.
Total Hit (1666) This example shows how date & time values can be stored separately using the SQL data types.
Rating
How to form effective date only search condition.
Total Hit (1544) This script shows a technique to perform effective date searches especially when searching on an indexed column.
Rating
Generate combinations of data from 2 tables & match against a combinations table.
Total Hit (1477) Demonstrates some powerful derived table & ANSI join features. The script shows how to generate combinations of values from 2 tables & match them against a third table.
Rating
This example solves the elements listing problem.
Total Hit (1651)
Rating
Moving Average Example #1.
Total Hit (2301) This example shows how to solve the Moving Average problem using a correlated query.
Rating
Stripping Email Address from a text or character value.
Total Hit (1590) This simple example shows a powerful way to manipulate values in text columns. This one can be used to determine the email address from a suitably formatted text value.
Rating
How to check for the existence of a database on a server?
Total Hit (1432)
Rating
How to use checksum in distributed queries.
Total Hit (1449) This script show how the CHECKSUM function can be used in distributed queries or any SELECT statement.
Rating
How to reset Identity of Autonumber column?
Total Hit (4870) There are two ways to reset identity field 1) Use TRUNCATE TABLE <mytable> rather than DELETE. This is a non-logged operation, however, and may not be what you need. 2) Use the DBCC CHECKIDENT command to reseed your identity value: DBCC CHECKIDENT('mytable', RESEED, 0) -- next row inserted ....Read More
Rating
How to concatenate the values of a column in all rows into one row?
Total Hit (2010) A limitation to be aware of is that varchar can go upto a max size of 8000 characters. If your data occupies more space, the output will be truncated.
Rating
How to get record count of all tables in database?
Total Hit (1447)
Rating
Get field default values of all tables for current database
Total Hit (1521)
Rating
Complex Updates Using the Case Statement
Total Hit (1699) «B»Introduction«/B» One of the keys to database performance if keeping your transactions as short as possible. In this article we will look at a couple of tricks using the CASE statement to perform multiple updates on a table in a single operation. «B»Multiple updates to a single column«/B» ....Read More
Rating
Updating a table from another table
Total Hit (1557) As the article title suggests, an UPDATE statement is able to reference data in other tables. This is done using a FROM clause. Let's use the Northwind database as our example here. A usual update statment to update a product's list price might look something like this. «Code LangId=6» UPDATE P ....Read More
Rating
Deleting Duplicate Records
Total Hit (2177) May of us have faced duplicate records issue in SQL Server Table. First, I'll need some duplicates to work with. I use following script to create a table called dup_authors in the pubs database. «Code LangId=6» -- If the table exists, drop it use pubs go If exists (select * from INFORMATION_SC ....Read More
Rating
Passing a CSV or Array to a Stored Procedure
Total Hit (1880) This stored procedure takes two parameters @ARRAY and @SEPARATOR. It loops through the array variable and pulls out the values inside it. Right now the stored procedure just prints the values it finds. It's written so as to be easily customizable to do exactly what you need it to. Enjoy and happy pa ....Read More
Rating
Using FTP in Transact-SQL
Total Hit (4001) «B»Introduction«/B» I’ve seen a few posts asking “How do I ftp a file into SQL” Well, if you have 6.5 or 7.0 this article should be helpful. Unfortunately it’s not an easy answer, but it’ll work great once you’ve set it up. The answer is that there isn’t a function in SQL to let you do this, you ....Read More
Rating
Difference between LEN() and DATALENGTH()
Total Hit (1631)
Rating
How to do case sensitive comparisons
Total Hit (1560)
Rating
Rotate a Table in SQL Server
Total Hit (1654) This article describes how to rotate a SQL Server table. Suppose you have a table that is named QTRSALES. The table has the columns YEAR, QUARTER, and AMOUNT with the data in the following format (note that there is no row for the fourth quarter of 1996): Year Quarter Amount ------ ....Read More
Rating
Create Excel XLS from T-SQL
Total Hit (3991) This is a T-SQL script that uses OLE, ADO, Jet4 ISAM, and Linked Server to create and populate an Excel Workbook (XLS) file from T-SQL query. If the Excel Worksheet exists, the query will append to the "table". The code is designed to be used by SQL Agent and to append to the step output with verb ....Read More
Rating


(Page 4 of 6) 171 Result(s) found  1 2 3 4 5 6

Recommanded Links

 

Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.