Security and permissions  Invoking Java methods in Adaptive Server

Chapter 5: SQLJ Functions and Stored Procedures

SQLJ Examples

The examples used in this chapter assume a SQL table called sales_emps with these columns:

The table definition is:

create table sales_emps
	(name varchar(50), id char(5),
	state char(20), sales decimal (6,2),
	jobcode integer null)

The example class is SQLJExamples, and the methods are:

See “SQLJExamples class” for the text of each method.





Copyright © 2005. Sybase Inc. All rights reserved. Invoking Java methods in Adaptive Server

View this book as PDF