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> ?
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.
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?
BrianToussaint, I can execute SQL commands inside SQL SERVER, I thought that it is necessary to do everything through Windchill Shell that there was a synchronization of files ?
@VladiSlav what are you trying to do? I do remember when I was creating numbering sequences for new soft types that I created, that it was done through a Microsoft SQL Server Query File ".sql". If you check out CS42301 on the PTC support page, it will tell you how to do the number sequencing.
I mainly use the manager to do queries. A couple of times with tech support guidance I have actually had to manipulate data.
BrianToussaint, I'm trying to run an example from the documentation with cust_Windchill_src
@VladiSlav I sure hope you are on a test server. (I'm not responsible for you trying this and you might want to verify with tech support that is the command you need to use.) I don't know why they put the .... after SQLServer in line b to run the script. The command it tells you to use when creating a new sequence as shone in the CS article: https://www.ptc.com/en/support/article?n=CS42301&source=Bloop is as below....