如何删除DB2 Java存储过程?

时间:2019-02-28 02:34:57

标签: db2 java-stored-procedures

我已经通过IBM Data Studio部署了Java存储过程,现在我想取消部署它,但是我不知道如何完全做到这一点。

我知道您必须通过调用DROP PROCEDURE <procedure name>来删除该过程。

SYSIBM.SYSJAVAOPTS中删除具有我的JAR_ID的记录。

但是您如何取消部署SQLJ.DB2_INSTALL_JAR的工作?

因为第一个参数是JAR的BLOB,所以它必须已经在DB2上的某个地方注册了我的JAR文件。

1 个答案:

答案 0 :(得分:1)

这可以通过JAR file administration on the database server中所述的<?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="WTF.Framework.Presentation.CrossPlatform.Pages.Authentication.LoginPage"> <ContentView ControlTemplate="{DynamicResource Template}"> <ScrollView> <StackLayout Orientation="Vertical" Padding="5" x:Name="LoginLayout"> <Label Text="Connection:" /> <Picker x:Name="ConnectionPicker" SelectedItem="{Binding Connection.ConnectionName, Mode=TwoWay}" /> <Label Text="Username:" Style="{DynamicResource FieldLabelStyle}"/> <Entry x:Name="UsernameEntry" Text="{Binding Username, Mode=TwoWay}" /> <Label Text="Password:" /> <Entry x:Name="PasswordEntry" IsPassword="True" Text="{Binding Password, Mode=TwoWay}" /> <Button Text="Throw exception" x:Name="ExceptionButton" Clicked="Exception_Clicked"/> <Button Text="Login" x:Name="LoginButton" Clicked="LoginButton_Clicked" /> <Button Text="Forgot Password" x:Name="ForgotPasswordButton" Clicked="ForgotPasswordButton_Clicked" /> <Button Text="Connections" x:Name="ConnectionsButton" Clicked="ConnectionsButton_Clicked" /> <Button Text="Server" x:Name="ServerButton" Clicked="ServerButton_Clicked" /> </StackLayout> </ScrollView> </ContentView> </ContentPage> 语句来完成。