We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input data
Which SQL and options did you provide as input?
DELIMITER // CREATE PROCEDURE register_student( IN student_name VARCHAR(25), IN student_photo BLOB, IN student_phone INT(10), IN student_password VARCHAR(20) ) BEGIN DECLARE new_roll_number BIGINT; -- Insert student details INSERT INTO students (name, photo, Phone_no) VALUES (student_name, student_photo, student_phone); -- Get the last inserted Roll_number SET new_roll_number = LAST_INSERT_ID(); -- Insert password entry INSERT INTO student_password (Roll_number, password) VALUES (new_roll_number, student_password); END; // DELIMITER ;
Expected Output
Actual Output
DELIMITER / / CREATE PROCEDURE register_student ( IN student_name VARCHAR(25), IN student_photo BLOB, IN student_phone INT (10), IN student_password VARCHAR(20) ) BEGIN DECLARE new_roll_number BIGINT; -- Insert student details INSERT INTO students (name, photo, Phone_no) VALUES (student_name, student_photo, student_phone); -- Get the last inserted Roll_number SET new_roll_number = LAST_INSERT_ID (); -- Insert password entry INSERT INTO student_password (Roll_number, password) VALUES (new_roll_number, student_password); END; / / DELIMITER;
Usage
The text was updated successfully, but these errors were encountered:
This is duplicate of #184 Yes, changing the delimiter is not supported. And in general the support of procedural SQL is pretty poor.
Also read the FAQ about Prettier SQL VSCode extension.
Sorry, something went wrong.
No branches or pull requests
Input data
Which SQL and options did you provide as input?
Expected Output
Actual Output
Usage
in vscode
mysqlite
1.6.0
The text was updated successfully, but these errors were encountered: