Site Menu
- Home
- Products
- Downloads
- Documentation
- Support
- Pricing & Orders
- About
- Community
- My Nexus
- Recently Updated ...
- Search...
- Site Login
Search
LeadingZeros
0
// Convert to string & add leading zeros for a string // with length aLen CREATE FUNCTION LeadingZeros(aValue INTEGER,aLen INTEGER) RETURNS VARCHAR(10) BEGIN DECLARE L INTEGER; DECLARE sRESULT VARCHAR(20); SET sRESULT= '0000000000' || TOSTRINGLEN(aValue,aLen); SET L=CHAR_LENGTH(sResult); RETURN SUBSTRING(sResult FROM 1+L-aLen); END;
Category:
SQL Functions & Procedures
Current Version:
1.00
Supported Products:
NexusDB V2
NexusDB V3
Questions? Problems?
- Interested to buy but something put you off?
- Can't find what you're looking for?
- Have a suggestion?
Let us know. If you're having trouble contacting us, please check here.
Site Updates
- Jun 3 2013 - 1:28pm
- Jun 3 2013 - 12:48pm
- Jun 3 2013 - 12:43pm
- Jun 3 2013 - 12:35pm
- May 2 2013 - 12:06am












