当前位置:Gxlcms > 数据库问题 > SQL 语句记录

SQL 语句记录

时间:2021-07-01 10:21:17 帮助过:4人阅读

2.查询 

 FMResultSet * result = [sDB executeQuery:@"select * from rockTB"];

    while ([result next])

    {

        NSString * time = [result stringForColumn:@"time"];

        NSString * body = [result stringForColumn:@"body"];

        int myId = [result intForColumn:@"myId"];

        

        NSLog(@"time:%@ body:%@ myId:%d",time,body,myId);

    }

SQL 语句记录

标签:

人气教程排行