Home » Community » Newbie corner » SqlVal to int (Typecast) (Typecasting from sqlval type to other types)
SqlVal to int (Typecast) [message #45174] |
Wed, 23 September 2015 06:25 |
ayana
Messages: 16 Registered: November 2011
|
Promising Member |
|
|
Hey All,
SqlVal ro;
Sql UserQuerySql;
UserQuerySql.Clear();
UserQuerySql * Select (Count(MBVARINDEX)).From ( PARAMETER );
while ( UserQuerySql.Fetch() )
{
ro=Count(MBVARINDEX);
}
In the above query whatever the count value I am getting is of type 'SqlVal',I want that to typecast into 'Int', Let me know how to do typecasting for it.
Thanks & Regards,
[Updated on: Wed, 23 September 2015 06:30] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Apr 25 08:59:01 CEST 2024
Total time taken to generate the page: 0.03111 seconds
|