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 110 of 133) 3985 Result(s) found 

 

How to perform DISTINCT queries on tables that contain BLOB fields like text/image.
Total Hit (1436)
Rating
How to determine the table from which a trigger was fired in the trigger itself? This technique can be used to write a common SP that can use the table name identified thus.
Total Hit (2092)
Rating
How to transfer BLOB fields like text/image from one server to another in SQL60/65? The same can be done in SQL70 using distributed queries.
Total Hit (2310)
Rating
How to perform case-sensitive search on strings in a case-insensitive server?
Total Hit (1481)
Rating
How to strip money values from a specifically formatted string: "n...-X..."? n... indicates the money value with varying lengths & decimal points also. X... indicates the alpha-numeric string after the money value
Total Hit (1470)
Rating
How to add time values formatted as hh:mm & display as hh:mm?
Total Hit (1459)
Rating
How to perform array-like manipulations using the set-oriented SQL features.
Total Hit (1473)
Rating
Here is a sample SP that shows how to manipulate text / image data. For simple insert / update of BLOB data, the INSERT / UPDATE statement will suffice. UPDATETEXT or WRITETEXT statements are required when modification of existing data needs to be done.
Total Hit (2253)
Rating
This is an example that shows how to do the opposite of pivot.
Total Hit (1459)
Rating
This is a simple routine that shows how to combine several binary values into a single image value. This is similar to string concatenation & this example just adds the bytes together as a stream.
Total Hit (2276)
Rating
Methods to form complex strings for dynamic SQL execution
Total Hit (1552) This T-SQL script shows several techniques to form complex dynamic SQL strings. These eliminate to some extent the coding involved in concatenating string values and making sure to add single quotes appropriately between values. The methods discussed can make the code simpler to read & is less error ....Read More
Rating
Tricks using a numbers table
Total Hit (1593) Solving most problems using a relational technique is more elegant and better in terms of performance. This script shows few examples that uses a Numbers table to solve some common problems. Keep a table with Numbers & it will prove very handy.
Rating
Concat several address fields together (example)
Total Hit (2234) Concatenating several column values as a comma-separated string is a often encountered scenario. This method shows one way to do this using COALESCE function.
Rating
Example for encrypting data using XOR
Total Hit (1837) Functions to encrypt data in columns are not available in SQL Server (except undocumented ones that are risky to use & not supported). Here is one that shows how to do this using XOR. «code LangId=6»DECLARE @pwd varchar(30) , @encryptkey int , @encryptedpwd varchar(30) , @charpos smallint; SELE ....Read More
Rating
Check a string for numeric digits only
Total Hit (1808) The ISNUMERIC function in SQL60/65/70 checks for decimal & integer values. Hence characters like D, E are valid float representations & similarly ','. This is a simple logic that can check only for numeric digits without using a loop of any kind.
Rating
Delete all but the two latest messages for each user
Total Hit (1410) Here is one example of a correlated query. This example uses a table that contains messages for each user. This can be used to delete all but the 2 latest messages.
Rating
Strip the tags out of a HTML string
Total Hit (1322) A relational technique to strip the HTML tags out of a string. This solution demonstrates how to use simple tables & search functions effectively in SQL Server to solve procedural / iterative problems.
Rating
How to rollup data in a table? There are several ways to do this, here is one way. I think there might be a more efficient way but I haven't worked on it yet.
Total Hit (1418)
Rating
How to strip a text field into several varchar fields?
Total Hit (1392)
Rating
How to define a column with a custom time format & verify validity of data using CHECK constraint?
Total Hit (1435)
Rating
How to compare rows in tables without writing a SELECT with all the conditions? Can be used for simple dirty work & of course if you are lazy to type.
Total Hit (2401)
Rating
How to simplify CHECK constraints? This is an example using some datetime based checks.
Total Hit (1445)
Rating
How to convert TIMESTAMP values to numeric?
Total Hit (11232)
Rating
How to re-sequence the values in an indexed field?
Total Hit (1689)
Rating
How to validate an IP address specified as a character string?
Total Hit (1484)
Rating
How to rank items starting with highest value within each group?
Total Hit (1528)
Rating
How to forcefully disconnect users from a DB? This script also contains some timing features so that it doesn't run forever.
Total Hit (3128)
Rating
How to find the greatest circle distance? Also shows how to do a simple UPDATE loop. Note that the greatest circle formula is an approximation only.
Total Hit (1517)
Rating
How to concatenate values that are grouped by columns using SELECT statement alone? This method has several restrictions but serves to demonstrate some techniques.
Total Hit (1587)
Rating
How to pass a list of IDs & use it like an IN clause?
Total Hit (2426)
Rating


(Page 110 of 133) 3985 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 ...

Recommanded Links

 

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

© 2008 BinaryWorld LLC. All rights reserved.