Hi I have temp table as follows:-
record_id name
1 A1
2 A2
3 A3
4 A4
How do I insert record in record_id column. record_id is a part of unique key but not a identity field.
Please help
hi aigles
i am not sure what you mean by the above example?
if i have worked out that teh month is 02 and i want to add
1 to it, this cahnges the month to 3 without the leading zero. i want to keep the leading zeros? i can do this using printf??
thanks
srsr
i am manipulating the date in a unix script as follows:
if [ $Day != 1 ]
then
Month=$(($Month + 1)) && Day=1
if [ $Month = 12 ]
then
Month=1 && Year=$(($Year + 1))
fi
fi
however i want to prefix the result to a filename, however it does not include zeros
eg 20020301 (1st march 2002) would...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.