Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 12277

Wiki Page: DB query for Multimode Project Environment.

$
0
0
Applies To Product(s): OpenPlant Isometrics Manager Version(s): 08.11.09.XXX (SS5) | 08.11.11.XX (SS6) Environment: Windows 7/8.1/10 (64 bit) Area: Settings/Attributes Subarea: DBQuery Original Author: Abhijit Bute, Bentley Product Advantage Group Problem Description Some user requirement to place external database file on server and all users can access that files. For fetching data from external database to Isometric backing sheet, need to mention full database path in textnodes.txt file. Following steps will aid user to create db query for Multimode project environment. Steps to Resolve Write below query in textnodes.txt file. mydsn=Driver={SQL Server};Server=BUTEA7453PUNL;Database=Bentley;Uid=sa;Pwd=Bentley123; projid = DBQUERY ($(mydsn), select PROJ_ID from PROJECT where DESCRIPT='$(PRJ_NAME)'and ITEM='ProjectName') 00_keytag = DBQUERY ($(mydsn), select keytag from TAG_REG where tag_no='$(LINENUMBER)'and proj_ID='$(projid)') 00_popp_nom = DBQUERY($(mydsn), select popp_nom from process where keytag='$(00_keytag)' and proj_ID='$(projid)') 00_popt_nom = DBQUERY($(mydsn), select popt_nom from process where keytag='$(00_keytag)' and proj_ID='$(projid)') 00_ppaint = DBQUERY($(mydsn), select DISTINCT ppaint from process where keytag='$(00_keytag)'and proj_ID='$(projid)') Still a Problem If there is still some problem, then please create a Service Request and contact Bentley Product Advantage group along with the list of all relevant details to get in depth analysis and for possible solution or workarounds. See Also Comments or Corrections? Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!

Viewing all articles
Browse latest Browse all 12277

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>