Subject Re: [firebird-support] Add Year function
Author Martijn Tonies
> Hi, help please.
>
> I'm trying to cast a integer as a string, what is the syntax for this
??????

What does this have to do with the "Add Year Function"?

> I have 2 variables of type integer
> INT01 AND INT02
>
> And a string variable
> STR01
>
> STR01 = INT01 + INT02

STR01 = CAST(INT01 AS VARCHAR(<somenumber>)) || CAST(...

This might also work, I haven't tried:

STR01 = INT01 || INT02;

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com