Microsoft
Software
Hardware
Network
Question : Increment Value
Hi,
I have an SQL statement that extracts the last 3 digits of string.
SELECT MAX(SUBSTRING(identifier, 13, 3)) AS Expr1
FROM tbl_meta
WHERE (identifier LIKE '%' + @identifier + '%')
If this returns a value then I need to increment the value returned by one. Originally the code returned a string. I have since added code to convert this to an integer. The problem is that it now chops the leading zeros off.
<%# Convert.ToInt32(Eval("Expr
1")) + 1%></h4>
When it was a string it would return 004, now it returns 4. Any way I keep the leading the zero’s. I need it to return 005.
Answer : Increment Value
well the first program runs a gps receiver .. and second program uses the gps signal generated by the first to evaluate the cell phone signal!.
Random Solutions
Out of Office Assistant in Outlook 2007 does not show the Schedule window to select date for OOF
SQL trigger is not allowing me to put an if statement in...
Deleting OEM Jobs
Debugging website in Visual Web Developer 2010 Express on network storage?
How to resolve Failed to load Main-Class manifest attribute from C:\sqljdbc_3.0\enu\sqljdbc
.jar
if rel="nofollow" then
http://www.example.com
else
Exch 2007 Distribution Group not receiving any mail
How to sum a formula involving a nested if statement in Crystal 2008
submit button in iframe
max size of file for accde