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

Submitted By : Nayan Patel  (Member Since : 5/26/2004 12:23:06 PM)

Job Description : He is the moderator of this site and currently working as an independent consultant. He works with VB.net/ASP.net, SQL Server and other MS technologies. He is MCSD.net, MCDBA and MCSE. In his free time he likes to watch funny movies and doing oil painting.
View all (893) submissions by this author  (Birth Date : 7/14/1981 )

Generate sequence numbers within a group of values.
Total Hit (1465) This example shows how to generate sequence numbers within a group of values in a SELECT statement. With proper indexes & search conditions, the example using the SELECT statement with GROUP BY will be very efficient.
Rating
Wrong usage of UPDATE FROM clause.
Total Hit (1521) This script demonstrates the wrong usage of UPDATE statement with a FROM clause esp. in case of a table with 1-to-many relationship with another tables(s).
Rating
How to order rows from a query in random order? This method should be used with caution & only after testing.
Total Hit (1545)
Rating
Flight Schedule Ordering problem.
Total Hit (1696) A flight schedule ordering problem. This demonstrates the powerful derived table feature. More details regarding the problem is in the link.
Rating
Generate combinations of data from columns.
Total Hit (2188) How can you generate various combinations of data from existing columns? This method shows one approach using the CUBE operator with the SELECT statement.
Rating
How to generate duplicates of existing rows based on the count value in a column?
Total Hit (1482)
Rating
Yet another pivot table example
Total Hit (1578)
Rating
Another pivot table example
Total Hit (3431)
Rating
How to calculate the previous & current salaries for each employees from rows that contain the start & end date for each salary?
Total Hit (1439)
Rating
How to convert integer values to hexadecimal strings in SELECT statement or computations or expressions in WHERE clause etc?
Total Hit (1407)
Rating
Minimum value from 4 variables - datetime example.
Total Hit (2070) 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 check for the existence of a file from SQL Server?
Total Hit (3828) This example uses the standard DIR command & the documented xp_cmdshell SP. The undocumented sp 'xp_fileexist' is also shown for completeness.
Rating
Conditional Firing of Triggers.
Total Hit (2082) This sample shows how you can conditionally fire triggers. This example shows how to suppress the trigger logic while inserting data from a SP & allowing other inserts to go through fine. A SQL6x/70/2000 version of the example is shown first & another one using the SQL70/2000 cursor function is show ....Read More
Rating
Custom Ranking for Search conditions ( Similar to Full-Text Rank column).
Total Hit (3055) This example demonstrates how to generate some ranking column for string searches. This column can be something like the RANK column generated by the SQL70 Full-Text feature.
Rating
How to generate sequence numbers based on values in multiple columns?
Total Hit (1511) 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 (1813) 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 (1577) 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 (1550) Demonstrates the application of the CUBE operator for SELECT statement.
Rating
Strip dirty characters from a numeric string.
Total Hit (1735) 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 (2535)
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 (1640) 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 (1668) 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 (1546) This script shows a technique to perform effective date searches especially when searching on an indexed column.
Rating
How to get NT Accounts from DOMAIN.
Total Hit (3584) Get NT account names of the server or domain using NT commands from T-SQL.
Rating
Generate combinations of data from 2 tables & match against a combinations table.
Total Hit (1479) 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 (2305) 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 (1591) 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


(Page 92 of 133) 3968 Result(s) found  ... 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 ...

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

© 2008 BinaryWorld LLC. All rights reserved.