PSQLオブジェクトの削除
pSqlDropFunction
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
pSqlDropFunction_start((START))
pSqlDropFunction_start --> pSqlDropFunction_0_0["DROP FUNCTION"]:::quoted
pSqlDropFunction_0_0 --> pSqlDropFunction_0_2[pSqlVariableName]
pSqlDropFunction_0_2 --> pSqlDropFunction_end((END))
目的
指定したFunction (.fnc)を削除します。 指定した名前のFunction (.fnc)が存在しない場合、エラーが発生します。
if exists句(25.0.41 および 24.0.778 から利用可能)を使用する場合、同じ名前のFunction (*.fnc)の以前のバージョンが存在する場合にのみ削除されます。
pSqlDropProcedure
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
pSqlDropProcedure_start((START))
pSqlDropProcedure_start --> pSqlDropProcedure_0_0[DROP]:::quoted
pSqlDropProcedure_0_0 --> pSqlDropProcedure_0_1[PROCEDURE]:::quoted
pSqlDropProcedure_0_1 --> pSqlDropProcedure_0_2[pSqlVariableName]
pSqlDropProcedure_0_2 --> pSqlDropProcedure_end((END))
目的
指定したプロシージャを削除します。 指定した名前のプロシージャが存在しない場合、エラーが発生します。
if exists句(25.0.41 および 24.0.778 から利用可能)を使用する場合、同じ名前のプロシージャの以前のバージョンが存在する場合にのみ削除されます。