Important alert: (current site time 7/15/2013 7:06:51 PM EDT)
 

Browse Category or Search Results

Search Results: Page 5 of 8 found. Entries 41 - 50 of 76 found
Jump to page: 1 2 3 4 5 6 7 8 

  Description
Compatibility
Level/
Author
Views/
Date
Submitted
User Rating
 
  How to format a number to print with a specific number of decimal places.How to format a number to print with a specific number of decimal places.SQL Server 2000, SQL Server 7.0, SQL Server 6.5 and earlierBeginner /
MSchuch
12174 since
4/8/2005 6:43:31 PM

By 1 Users

       Formatting a number to print rounded off to a specific number of decimal places is quite easy and doesn't require a user defined function. Formatting a number as a dollar amount is also easy. These are handy for formatting output for XML. If you like this ...(description truncated)
 
 
  Int2GUIDInt2GUIDOther Intermediate /
Lewis E. Moten III
5326 since
5/24/2002 6:08:45 PM
Unrated
       Datatype conversion to change integers to unique identifier datatypes. This method is most useful when upgrading database schemas from using integers to using guids. You will still be able to "read" values by eye to match old Integers with the new GUIDs.Click here to see a screenshot of this code!(ScreenShot)
 
 
  Integer to bitsInteger to bitsSQL Server 2000, SQL Server 7.0, SQL Server 6.5 and earlierIntermediate /
Sajid Ali Anjum
2730 since
6/14/2006 4:38:49 PM

By 1 Users

       Binary representation of any integer valueClick here to see a screenshot of this code!(ScreenShot)
 
Please support the site by visiting our sponsor:
 
  Leading SpaceLeading SpaceSQL Server 2000Advanced /
Jeff Michelson
2802 since
11/4/2004 12:15:48 PM

By 1 Users

       This function will left-pad any string.
 
 
  Leading ZeroLeading ZeroSQL Server 2000Advanced /
Jeff Michelson
7346 since
11/4/2004 12:21:11 PM

By 1 Users

       This function will return a string padded with leading zeros. This is useful for creating EDI files, or other bank-related documents that require zero padded numerics in a text file.
 
 
  Left & Right pad decimal values with zeroes in character format.sqlLeft & Right pad decimal values with zeroes in character format.sqlSQL Server 7.0Beginner /
Umachandar
7698 since
7/18/2000 8:39:26 AM

By 3 Users

       How to pad decimal values with zeroes & to a fixed length for say exporting the data
 
 
  LowerCaseFixLowerCaseFixOracleIntermediate /
Ron Santillano
3668 since
4/26/2002 12:02:06 AM
Unrated
       This script will recreate a table that has any lowercase columns. It will keep the data intact. It is a function that needs to be called from a procedure.
 
 
  MillisecondsMillisecondsSQL Server 7.0, SQL Server 6.5 and earlier, OracleBeginner /
Mike J Anderson
5926 since
8/31/2001 4:26:22 PM

By 4 Users
2 Excellent Ratings
       Convert a Oracle date to milliseconds.
 
 
  Num2Guid Conversion FunctionNum2Guid Conversion FunctionOther Advanced /
Lewis E. Moten III
8249 since
5/24/2002 7:23:12 PM

By 1 Users

       Article describing how to convert a decimal to a guid format. Also goes into detail explaining how to convert to other base-N numbers such as a bitmask/binary, octet, trinary, hex, and more. Introduces the benefit of functions with a real-case scenario.Click here to see a screenshot of this code!(ScreenShot)
 
 
  Pad String or Number w/ CharPad String or Number w/ CharSQL Server 2000, SQL Server 7.0Beginner /
Sean P. O. MacCath-Moran
5037 since
2/13/2003 2:10:14 PM

By 1 Users

       /* Pad a string or a number with a specified character. For example, pad an integer set to 555 with a max set to six 0s and receive 000555; or pad a string set to 'Hello' with up to eight spaces and receive ' Hello'. */
 


Search Results: Page 5 of 8 found. Entries 41 - 50 of 76 found
Jump to page: 1 2 3 4 5 6 7 8 


Compatibility Filter Profile:

SQL Server 2000
SQL Server 7.0
SQL Server 6.5 and earlier
Informix
Oracle
Other