Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Change SQL adapter's target Instance, but retain credentials

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Change SQL adapter's target Instance, but retain credentials
 Login/Join
 
Gold member
posted
At

http://documentation.informati...admin_510/mssql7.htm

it is stated that user, password are optional and I do find something like the following will work:

ENGINE  SQLMSS SET CONNECTION_ATTRIBUTES [connection name] &sourcename/


In that, [connection name] now points to &sourcename, but without the credentials specified, the run-time account is used which may not correspond to a SQL login.

What I want is to have server admins maintain an adapter with credentials, while developers point to the adapter and can rename the target instance (our BI servers refresh every four hours and the developers can get the current instance name through a query), but not have to put in the code (or even know) the SQL credentials.

Is it possible another way?

I tried using
ENGINE  SQLMSS SET SERVER
, but it does not seem to offer that functionality.

Thanks!


WebFOCUS 7.7.04M/8001
Windows Server 2008
Excel, PDF, HTML, AHTML

http://www.plex.com
 
Posts: 73 | Location: Auburn Hills, MI | Registered: September 29, 2011Report This Post
Guru
posted Hide Post
This is the only way I know of to overwrite the database server that the data adapter is pointing to.
  
-SET &SQLServerName = 'NewServerName';
ENGINE SQLMSS SET CONNECTION_ATTRIBUTES DataAdapterName &SQLServerName/

Your developers will need to -INCLUDE this code. The should add it to their Report Settings or Environment fex. The credentials that get passed will depend on how the data adapter is configured. It would be best to have it configured with a SQL Account with read only access.


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report This Post
Gold member
posted Hide Post
Thanks, Max

At least in my testing that didn't work. That's what I was trying to explain. Like I said in my post, when I tried that "...without the credentials specified, the run-time account is used which may not correspond to a SQL login."


WebFOCUS 7.7.04M/8001
Windows Server 2008
Excel, PDF, HTML, AHTML

http://www.plex.com
 
Posts: 73 | Location: Auburn Hills, MI | Registered: September 29, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Change SQL adapter's target Instance, but retain credentials

Copyright © 1996-2020 Information Builders