Execute SQL Scripts on Project Load

<< Click to Display Table of Contents >>

Navigation:  PlantLink > How to use > Usage >

Execute SQL Scripts on Project Load

Previous pageReturn to chapter overviewNext page

Show/Hide Hidden Text

This chapter describes how SQL Scripts can be executed automatically when opening a project.

Ofter customer create additional views/queries to be used in combination with PlantLink to create some sort of data flow. Or to extract data in some form. To avoid running a SQL script manually, you just need to copy a SQL script file into the project and the views or tables will be created.

The project used at the start is the one from Getting Tag from connected objects into instruments and it can be downloaded with the following Link:

A link with the project created during this chapter is at the end of this chapter.

hmtoggle_arrow1        Activate Run SQL Script on project load

hmtoggle_arrow1        Location and Naming of SQL Scripts

hmtoggle_arrow1        Creating SQL Script using SQLite

hmtoggle_arrow1        Creating SQL Script using SQL Server

hmtoggle_arrow1        Test with SQLite

hmtoggle_arrow1        Test with SQL Server

Next Chapter: Mapping Options