Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

on delete RESTRICT rule question: msg#00222

db.maxdb

Subject: on delete RESTRICT rule question

Hi there,

I need to be able to determine the delete restriction
of a row before the actual delete is performed on the
database. I need this only because i don't want to
wait for the database to throw an exception if i can't
delete a row, because of references integrity
problems; that's depending on the answer to this
question : how much it would take to determine if a
row can be deleted or not? is it possible that the
database keeps some records about how many
dependencies a row has in other tables?, when the
database is asked to delete a row, it will iterate
over all relationed tables to determine the
references?

I was thinking of implementing a service in my
application, that keeps records (a count) of how many
dependencies a row has (in some other tables), to be
able to determine as fast as possible if it can be
deleted or not.

I think, i'm more interested in how the RESTRICT on
delete rule is implemented, and if i can relay on it
without worring about performance problems when my
database will grow to be very large.

Is SAPDB keeping some records about dependencies or it
searches for them only when it's needed?

Thanks,
Regards



__________________________________
Do you Yahoo!?
All your favorites on one personal page ? Try My Yahoo!
http://my.yahoo.com

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo