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
Need Algorithm: Count The Number of Rows Multiple Times
Synch Gmail to Droid
Show floating point decimal place even for whole numbers in php
What is wrong with the way that I'm writing this if statement?
Select Query from Form Data
Internet Explorer 8 - Number of processes
CreateToolhelp32Snapshot (of modules) Error 5 access denied
Driving Distance between Postcodes
Need gaming hardware upgrade recommendations
blocking internet access to a particular computer on my network