Make sure that the size of the target variable is same as the size of the assign value.
Examples:
-- Correct Way.
fstrVar1 VarChar2 (5);
fstrVar2 VarChar2 (5);
fstrVar2 := ‘12345’;
fstrVar1 := fstrVar2;
-- Incorrect Way.
fstrVar1 VarChar2 (4);
fstrVar2 VarChar2 (5);
fstrVar2 := ‘123456’; -- Error prompted here because fstrVar2 only accept 5 characters.
-- If fstrVar2 is changed to accept 6 characters.
fstrVar1 := fstrVar2; -- Error prompted here because fstrVar1 only accept 4 characters.
Programming Explorer : This is the place that I would like to share with you about my IT knowledge and experience. Some of the articles are copied from others in the internet. Some are originally come from my findings.
Subscribe to:
Post Comments (Atom)
-
If the following symptoms apply to you: You recently migrated from Azure MariaDB to Azure MySQL. MySQL Workbench is able to return data succ...
-
Environment: Visual Studio Code v1.83.1 Symtomps: 1). When you try to debug your Flutter project, you see this error message at the Terminal...
-
Hitting this error message " Unable to find resource t64.exe in package pip._vendor.distlib " when trying to upgrade your PIP to ...
No comments:
Post a Comment