SQL Server Info

Which version of SE? I believe all recent versions of SE also includes SQL Server Express to be used for data logging. All of this is outlined in the manuals that come with SE.
 
Setting up SQL Server really has nothing to do with SE.

The only SE interaction (and I'm not talking SQL Server Express, though it applies) is making sure the database has permissions for the SE System to access.

I USUALLY assign a database user (as opposed to a Windows Account Linked user) for at least the configuration of everything with SQL Server. If required, I'll later change to a Windows Authenticated user.

My normal procedure is:
Create a new database, with no tables.
Create a SQL User (WITH password).
Set the default database to the new one you created.
Give the SQL User (as a minimum) permissions on: db_datawriter, db_datareader, db_owner, and db_securityadmin.
Depending on what you need to do, you may or may not have to create an ODBC connection to the database. I do, for custom logging in SE's VBA.

For historical trending to the DB, you will need ODBC as well, the same connection will work.

For Alarms and Events logging, you can directly connect to the SQL Server, and it will create the tables for you.

If you fill out the first tab in (FTView) Project Explorer | System | Connections | Databases | FTAE_Historion correctly, it should connect and create the necessary tables in the database. If you didn't create a database manually before hand, FTAE historion will create the actual database as well, then add the required tables.

There really isn't any good documentation on any of this.
Data Log Models are temperamental at first, make sure permissions are correct, and watch everything going on with the error log in FTView and SQL Server.
 

Similar Topics

Customer is running FTView network distributed v12. I've had datalogs running for a few years and the data goes to a remote SQL server using a...
0
Replies
129
Views
Hey so I have a possible project coming up relating to Reporting CIP Details to an SQL Server. Im pretty much upgrading the PLC and Computers...
3
Replies
451
Views
Having this problem after IT upgrade Windows 11: The required SQL Server LocalDB instance is not found. Verify that SQL Server LocalDB is running...
9
Replies
2,545
Views
I am trying to get a local instance of FT View SE to connect to a local SQL database for some stored recipe information. All of this was backed up...
7
Replies
1,435
Views
Hello friends, is it possible to connect my S/1500 plc to SQL Server without using the program?
2
Replies
610
Views
Top