
Limitations of Using JDBC with the SPD Server
JDBC Used with SAS Versus JDBC Used with the SPD Server
SPD Server is treated as a foreign database. SPD Server clients can't query the JDBC
metadata class for available tables and other metadata. Users must write their own queries
to do this.
Example JDBC Query for Getting a List of Tables
(JDBC Used with the SPD Server )
SELECT '' AS qual,
LIBNAME AS owner,
MEMNAME AS name,
MEMTYPE AS type,
MEMNAME AS remarks FROM dictionary.tables AS tbl
WHERE ( memtype = 'DATA' OR memtype = 'VIEW' OR memtype = 'SYSTEM TABLE' OR
memtype = 'ALIAS' OR memtype = 'SYNONYM')
AND (tbl.libname NE 'MAPS' AND tbl.libname NE 'SASUSER' AND tbl.libname NE 'SASHELP')
ORDER BY type, qual, owner, name
Example JDBC Query for Getting Metadata about a Specific Table
(Your data file)
SELECT '' AS qual,
LIBNAME AS owner,
MEMNAME AS tname, name,
length AS datatype,
type || ' ',
length AS prec,length,
length AS scale, length AS radix, length AS nullable,label,
FORMAT FROM dictionary.columns AS tbl
WHERE memname = 'your data file'
AND (tbl.libname NE 'MAPS'
AND tbl.libname NE 'SASUSER'
AND tbl.libname NE 'SASHELP')
Using htmSQL to Access SPD Server Tables
Read this section if you do not have Base SAS software on the network client, but you want
to use the point-and-click convenience of a Web page to query SPD Server tables from any
browser-enabled client on the network. You must have SPD Server tables available for use,
htmSQL loaded and configured on a UNIX or Windows operating system, and Scalable
Performance Data Servers and SPD SNET servers running.
Why Would I Want to Use htmSQL?
You might want to use htmSQL if you have SPD Server tables available on your network
and one or more of the following is true:
•
You do not have Base SAS software on the network client to process the data sets.
102
Chapter 9 • Using SPD Server With Other Clients
Summary of Contents for Scalable Performance Data Server 4.5
Page 1: ...SAS Scalable Performance Data Server 4 5 Administrator s Guide...
Page 7: ...Part 1 Product Notes Chapter 1 SPD Server 4 5 Product Notes 3 1...
Page 8: ...2...
Page 12: ...6...
Page 63: ...Part 3 Migration Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility 59 57...
Page 64: ...58...
Page 70: ...64 Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility...
Page 72: ...66...
Page 76: ...70 Chapter 6 Using the SPD Server Name Server to Manage Resources...
Page 94: ...88 Chapter 7 Administering and Configuring SPD Server Using the SAS Management Console...
Page 98: ...92 Chapter 8 SPD Server SQL Query Rewrite Facility...
Page 116: ...110 Chapter 10 Configuring Disk Storage for SPD Server...
Page 128: ...122 Chapter 11 Setting Up SPD Server Parameter Files...
Page 154: ...148...
Page 198: ...192 Chapter 14 ACL Security Overview...
Page 212: ...206 Chapter 15 Managing SPD Server Passwords Users and Table ACLs...
Page 214: ...208...
Page 224: ...218 Chapter 16 SPD Server Operator Interface Procedure PROC SPDO...
Page 236: ...230 Chapter 18 SPD Server Table List Utility Spdsls...
Page 256: ...250 Chapter 19 SPD Server Backup and Restore Utilities...
Page 264: ...258 Chapter 20 SPD Server Directory Cleanup Utility...
Page 270: ......