Skip to main content
Oct 16, 2019 1:06 PM UTC
Question

SqlServer commands

Hello everyone, how to execute sqlplus <db_user>/<db_user_pw>@<sid> command . If there is no Oracle, and there is SqlServer?
And what is @<sid> ?

9 replies

Oct 16, 2019 6:43 PM UTC

db_user is the name of the WIndchill user who executes DB commands. Found in db.properties file under the load point.

db_pass is the password for the db_user account. it is encrypted, so you have to know it or find someone who does.

sid is the name of the database defined when the system was created. It cam also be found in db.properties, if you know the service name.

 

Once SQLplus is open, you can execute your SQL scripts and logged into the DB, you8 can run the scripts or enter commands line by line.

 

 

 

VladiSlavAuthor
Oct 17, 2019 5:29 AM UTC

Thanks, , there is still a problem with sqlplus, how to change the command for SQLSERVER?

db.JPG

Oct 17, 2019 11:26 AM UTC

It is showing that sqlplus isn't a recognized command, meaning that it isn't installed, not that the syntax of the command is wrong.  The question is why are you trying to use sqlplus via command line and not using SQL Server Management Studio?

VladiSlavAuthor
Feb 12, 2020 6:23 AM UTC

Hello, there is a video of training for example from the documentation

https://www.youtube.com/watch?v=-14BSAwteVw&list=PLjm4gmbLQwoeqQSP7xUhCnInGknqTBAZV&index=2