Set SQL Database Login Credentials

This command removes the need to be logged in to an SQL database before opening and running a simulation that references one or more SQL databases.

Parameters

  • Simul8 SQL Database - SQL Database name.
  • User name - to have windows prompt the user for their credentials as required
  • Password - The user's database login password.

Comments

This command can be used anywhere in Visual Logic but is most likely to be used when the simulation is opened or reset (before an SQL Database is accessed).

Username and password must be entered as a string (in “”) or a text variable.

See Also