Solved

SETUSERID/USERID functions require one connected db or db argument.

Posted on 2012-04-10
5
311 Views
Last Modified: 2012-09-02
Progress Version Number: 10.1C

So far we have been using single database. Now we want to connect to multiple database.
I had created the second database and When i connect to multiple database i get the follwing error.

** SETUSERID/USERID functions require one connected db or db argument. (691)

Since i have the keywork "Userid" in several programs, it will be impossible to change them to userid("dbname").

Is there any other solution?

Thanks
0
Comment
Question by:hawkerpac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 27

Accepted Solution

by:
tliotta earned 500 total points
ID: 37834318
Is there any other solution?

Not that I'm aware of.

...it will be impossible to change them...

I assume that by "impossible" you mean that it will take extra work. Or can you elaborate?

Tom
0
 

Author Comment

by:hawkerpac
ID: 37834996
With limited resource we have its not possible to change the keyword "userid" which is used in more than 3000 programs. Since we had single database, userid worked fine. Now that we want to split the database , we have to change all the programs whcih has userid to
userid("db1").

So i want to know if there is any other way.

Thanks
0
 

Author Comment

by:hawkerpac
ID: 38029046
We went ahead and changed the programs to refer userid(dbname).
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question