TAILIEUCHUNG - SQL PROGRAMMING STYLE- P31

SQL PROGRAMMING STYLE- P31:Im mot trying to teach you to program in SQL in this book. You might want to read that again. If that is what you wanted, there are better books. This ought to be the second book you buy, not the first. I assume that you already write SQL at some level and want to get better at it. If you want to learn SQL programming tricks, get a copy of my other book, SQL for Smarties (3rd edition, 2005). | Do Not Use Object-Oriented Design for an RDBMS 67 relationship. For them to appear CREATE TABLE and disappear DROP TABLE is like living in a world of magic where a whole new species of creatures are created by any user on the fly. Likewise there are no OIDs in SQL. GUIDs auto-numbering and all of those proprietary exposed physical locators will not work in the long run. I have watched people try to force OO models into SQL and it falls apart in about a year. Every typo becomes a new attribute or class queries that would have been so easy in a relational model are now multitable monster outer joins redundancy grows at an exponential rate constraints are virtually impossible to write so you can kiss data integrity goodbye and so on. In a thread discussing OO versus relational modeling entitled impedance mismatch in the newsgroup in October 2004 one experienced programmer reported I m here to tell you what you already know you are 100 percent correct. I am stuck with working with an OO schema superimposed on an RDBMS. The amount of gymnastics that I need to go through to do what should be the simplest query is unimaginable. It took six man-hours me and one of the OO developers for three hours to come up with a query that was the equivalent of SELECT FROM Field_Offices The data needed consisted of basic information name of the office location address manager and phone. The final query was almost a full page long required the joining of all the various tables for each data element as each data element is now an object and each object has its own attributes so requires its own table and of course the monster object-linking tables so as to obtain the correct instance of each object. By the way which instance is the correct one Why the latest one of course unless it is marked as not being the one to use in which case look for the one that is so marked. And the marking indicator is not always the same value as there are several potential values. .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.