|
Write a stored procedure that is too simple. There are many questions.
CREATE OR REPLACE PROCEDURE TEST
(CODE IN CHAR)-Here I specified why CHAR cannot specify the length (VARCHAR seems to be the same): CHAR (2)?
AS
BEGIN
DBMS_OUTPUT.put_line (CODE);-Is there a similar method as PRINT of SQL Server ...... you can type a few words less.
END;
EXECUTE TEST ('AA'); --- how to prompt here that SQL is wrong ...
Hey. So many questions for the first time. How does SQL Server feel good? |
|