Home > database > I am a beginner PB, how old are grammar have a problem? Please help me take a look at what place is
I am a beginner PB, how old are grammar have a problem? Please help me take a look at what place is
Time:09-20
//declare a local variable, respectively used to save the students information String ls_id ls_name, ls_sex The Date ld_birthday //student id will be obtained from student id edit box Ls_id=sle_1. Text //from the student table conditions satisfying the student id to retrieve the information, and store the information to the corresponding variable SELECT student student_name, student sex, student. Birthday
The Error C0031 Syntax Error
CodePudding user response:
String ls_name ls_sex, ls_birthday SELECT student student_name, student sex, student. Birthday Into: ls_name, : ls_sex, ls_birthday From the table.
CodePudding user response:
If only from the student table number: The select student_name, sex, birthday Into: ls_name, ls_sex, : ls_birthday The from student where student id=: ls_id;
CodePudding user response:
To help the top, two 1 above
CodePudding user response:
The select statement has a problem, that should be ~ 2 floor
CodePudding user response:
Looks like LZ must also strengthen learning embedded SQL,
CodePudding user response:
Pb has automatic function, there won't be using automatically generated function is wrong