473,396 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Difficult in database link

Hi,
I get very difficult requirement from my friend.

I explain clearly below :

I have two databases.

Source databases: Flower
|__________schema: sample.
|______table :emp,dept,bonus,qa
Destination databases: Margin.
|__________schema:Testing.
|______ table :emp,dept,bonus,qa


Now, I login in flower databases in sample schema. I need select data from
Emp table from margin database in testing schema. At the same time I don’t want to access the other tables from margin database in testing schema.

What I try:
I create database link between flower databases and margin databases.i able to select data from all tables from margin database in testing
Schema.

I need to access emp table only and I don’t want other tables.

Please help me.

Thanks,
Michael
Oct 18 '07 #1
2 1844
amitpatel66
2,367 Expert 2GB
Hi,
I get very difficult requirement from my friend.

I explain clearly below :

I have two databases.

Source databases: Flower
|__________schema: sample.
|______table :emp,dept,bonus,qa
Destination databases: Margin.
|__________schema:Testing.
|______ table :emp,dept,bonus,qa


Now, I login in flower databases in sample schema. I need select data from
Emp table from margin database in testing schema. At the same time I don’t want to access the other tables from margin database in testing schema.

What I try:
I create database link between flower databases and margin databases.i able to select data from all tables from margin database in testing
Schema.

I need to access emp table only and I don’t want other tables.

Please help me.

Thanks,
Michael
Well, once you create a database link, make use of that link to access only emp table. Dont access other tables if you dont want to do that.
Oct 18 '07 #2
debasisdas
8,127 Expert 4TB
When you create a DBLINK ,you need to provide the User name and Password.

So for the user using the DBLINK, the previliges are like the owner of the objects of the entire linked schema.
Oct 18 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Slant | last post by:
Here's a question that most will have different answers to. I'm just dying to find a solution that seems halfway automated!! There really are two seperate issues which might be answered by the...
4
by: n | last post by:
Hello! Here is a problem I hope you can point me to a solution. It Problem: A teacher needs to know which lesson to teach. A school has a curriculum with 26 lessons, A-Z. For a given class,...
15
by: harvey | last post by:
How do I make PHP create a database for mysql please? I can see how to make tables and I have read all the documents I can find but I don't understand how to make the database itself. All...
221
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
21
by: Tarscher | last post by:
Hi all, I have events containing attendees (events has many attendees). The attendee table tells whether a user will attend the event or not. I want to build a query that returns all the...
0
debasisdas
by: debasisdas | last post by:
DATABASE LINK =============== A database link is a path through which a remote user in another database can connect to any other database. Once created database link exists as an object in the...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
25
by: pereges | last post by:
Hello, I'm trying to build a database driven website for a library management system. The database is stored on a remote server which all of my team mates can access. I've installed MySQL, PHP and...
68
mideastgirl
by: mideastgirl | last post by:
I keep getting this error and I cannot figure it out. My curly brackets are closed, and I am using the correct tags for <?php to open and ?> to close my code. Can someone please help me! Here is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.