advanced sql/odbc configurationsupport.skyward.com/deptdocs/corporate/documentation/public we… ·...

19
Advanced SQL/ODBC Configuration 2019 User Group Conference

Upload: others

Post on 26-Sep-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

Advanced SQL/ODBC Configuration

2019 User Group Conference

Page 2: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

ODBCand

SMS 2.0

• What is ODBC

• What Requires ODBC

• SMS 2.0 Configuring ODBC

• SMS 2.0 Maintenance of ODBC

• ODBC Tools

Page 3: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

What is ODBC?

Open Database Connectivity (ODBC)

Open Database Connectivity (ODBC) provides a standard software API method for using database management systems (DBMS).

The designers of ODBC aimed to make it independent of programming languages, database systems, and operating systems.

Page 4: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

EULA StatementIn relation to Customer’s use of the Software and Materials, if requested by Customer and agreed to by Skyward, Skyward may establish an open database connection (ODBC) to Skyward’s database. In the event such an ODBC is established by Skyward, Customer will be permitted to insert its data into the Skyward database subject to the following terms and conditions.

a) Customer will be the sole and exclusive owner of all data inserted into the Skyward database.

b) Customer agrees to hold Skyward harmless from any liability relating to Customer’s insertion of data into the Skyward database, including but not limited to the corruption of such database.

c) Customer shall compensate Skyward to repair any problems relating to the corruption of the Skyward database arising from or related to the insertion of the Customer’s data.

d) Customer agrees to log all data inserts by date, time, database, table and field to create a backup of the database prior to inserting any data.

e) Customer shall not allow any third party vendors, suppliers, or other individuals or entities associated with Customer access to the ODBC without the prior written consent of Skyward and Skyward may, in its sole discretion, require that any such third party execute a confidentiality and nondisclosure agreement in theform and substance required by Skyward.

The Customer further agrees that Skyward will not be liable for any claim or action whatsoever or damages, regardless of type, resulting from the Customer’s failure to properly save or back up all data and information inputted by Customer through the ODBC.

Page 5: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

What Requires ODBC?

• Crystal Reports / Report Viewer

• Crystal Enterprise Scheduling Software

• Skyward PaC and Web Crystal Quick Pick Reports

• Custom/3rd Party Interfaces (SuccessEd, UMR/Tools4Ever, etc.)

• Other 3rd Party Tools (Cognos, Microsoft Reporting Services, etc.)

Page 6: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

SMS 2.0 Configuring ODBC

• What 11.7 ODBC driver is needed?

• How to install the 11.7 ODBC driver?

• What is also needed with ODBC connectivity?• IP Address

• SQL Port Number

• Read Only User

• Read/Write User

• Data Source

Page 7: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

What 11.7 ODBC Driver is Needed?

The “bit” version of the driver needs to match the “bit” version of the application that you are using to query the database.

An example of this scenario would be if you run a third party 32-bit product setup on a Skyward server and it is configured to access the Skyward database using ODBC, then you will need to install the 32-bit ODBC driver on the Skyward server.

Page 8: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

How to Install the 11.7 ODBC Driver?

Page 9: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

How to install the 11.7 ODBC Driver?

Skyward Server Install Directory

The ?:\skyward\install directory is created by the 11.7 – Skyward Software Distribution .exe and 11.7 – Skyward Software Distribution .2 - .5 files. The files are located on ftp.skyward.com in Hardware\Public\OE117-Customer-DVD folder. The files contain folders and files for OpenEdge 11.7, Sun, Java, Microsoft .NET, ODBC drivers, and other files needed for installers. Some Installer.exe files need to ‘see’ this folder and some do not, or some will create the folder during the running of the install file.

Skyward Database/Web/Report Server Installs

The 11.7 32-bit and the 11.7 64-bit ODBC drivers are installed on each server when the 11.7 – SMS 2.0 – Base Install.exe installer is run. This installer will be run on the SMS 2.0 Database/Web/Report Server(s).

Page 10: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

An IP Address and Port Number??

On the SMS 2.0 Database server, navigate to the \skyward folder and find the .pf file(s)

-H is IP address of the database server

-S is the 4gl port number to the database so the SQL port number will be +1

Page 11: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

What about the ODBC User?

• Skyward creates a read only user by the name of SKYDBUSER to be used in the database.

• Skyward highly recommends that you create a Read-Only SQL User for each 3rd party software/end user.

• The username is not case-sensitive, whereas the password iscase-sensitive.

• After a SQL Read-Only user has been added/edited in the database and assigned tables, the Update Read-Only User task needs to beset up/run in Monolith.

Page 12: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

What about the ODBC User?

• A Read/Write user may be requested by the customer.• A signed ‘Acknowledgment of Skyward Policy

for ODBC use by Customer’ form

• IT Services creates the Read/Write SQL user in the database

Page 13: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

A Data Source?

• The Data Source can be created by running the DSN Setup.exe.

• The Install Folder is not needed.

Page 14: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

SMS 2.0 Maintenance of ODBC

• DBTool’s SQL Width Padding Utility• Can be run daily/weekly.

• Adjusts the SQL fields length and pads by 100%.

• Should be run prior to Update Statistics.

• Update Read-Only User Process• Should be run daily.

• Grants/revokes read-only user permissions to the database tables/fields.

• Read-only SQL user needs to be maintained as an account in the SMS 2.0 Web.

• Update Statistics Process should be run Weekly• Creates an indices listing of tables resulting in better SQL performance

with Crystal Report processing in the SMS database.

Page 15: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

Monolith 2 Scheduled Tasks

• Monolith 2 can be setup to run scheduled tasks for:• Read-Only User Rights

• dbTool Utility

• Update Statistics Process

Page 16: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

ODBC Tools

• SQL Query Tools

• ODBC User Control Utility

What sort of tools are available?• Located in the \skyward\ocx folder

Page 17: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

SMS 2.0 ODBC Launch Kit

https://support.skyward.com/DeptDocs/Corporate/IT%20Services/Public%20Website/Technical%20Information/PaCInstallDocs/Skyward%20ODBC%20Launch%20Kit.pdf

Page 19: Advanced SQL/ODBC Configurationsupport.skyward.com/deptdocs/Corporate/Documentation/Public We… · EULA Statement In relation to Customer’s use of the Software and Materials, if

Thank you for attending!