473,382 Members | 1,639 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,382 software developers and data experts.

Working around a bad vendor

A lot of our data is in a database originally provided to us by
a vendor. We can add tables to the database (although we prefix
them with our own company name), and stored procedures and our
own triggers, as well. However, we have been hesitant to
change the vendor's tables (despite serious flaws), as our
changes may get lost whenever we put in a new version of their
software.

I would like to be able to run a script that will check the
database for each of our changes, and put the change back in
if it was missing. These are the main things I'd like to
check:

Foreign keys are present.
Check constraints are present.
Specific triggers are absent (The vendor has a bad habit
of implementing foreign keys and simple checks in
triggers. The foreign key checks cause us a lot of
locking trouble). If present, and not the same as the
one that was originally removed, report it instead of
removing it.
Calculated fields are present.
Indexes are present. (especially if we can check what is
indexed, and what index is clustered)
Any tips? Books to read? Software to buy?

Thanks,
Bill

Jul 20 '05 #1
1 1481
Unless they specifically call indexes (rare in my experience from
vendors), you should be able to add, delete and modify indexes. I bet
poor indexing is what is causing you locking problems.

The placement of clustered indexes is real important and too often I've
seen vendors put them on the most queried column (causing lots of page
splits when doing inserts, updates), use composite clustered indexes
(then have a non-clustered index on almost every table, making NCI's
large and updates, inserts painfully slow) or have tables with no
clustered index.(causing heaps to search for empty space upon inserts
and not utlizing efficient key locks)

If you check with the vendor they have probably told you that you cannot
change anything, right??

The real issue is if your company is going to stay with that vendor (and
your company doesn't plan on divorcing them) you need to have management
support you in asking for things to be fixed. If management doesn't
support you, I don't think I would take the time to make their
software/database better, thereby increasing the chance they stick with
that vendor. Obviously a fine line there...

As far as your actual question, I haven't used it but there is a
software out there called SQL compare that compares structures.

http://www.red-gate.com/SQL_Compare.htm

HTH

Ray Higdon MCSE, MCDBA, CCNA

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: James | last post by:
Hello, The PRINT command works fine on Query Analyzer. However, when I used it with other Database Client, eg: Aqua Data Studio, nothing got printed out. Is there a way to make it work? ...
0
by: Rich Burridge | last post by:
Hi, I work in the Accessibility Program Office at Sun Microsystems. I'm part of a team that is using Python to create a screen reader called Orca, that'll help blind people (and people with low...
1
by: Dalan | last post by:
I designed a dialog box with a combo to select individual vendors from a form and its related data for print ouput. Though the dialog box seems to work okay, I apparently do not have the filtering...
0
by: David Ingram | last post by:
Greetings! I have created a report which shows, for each vendor, the comparative totals between this year, last year, and the year before, for each month of the year, e.g.: Vendor: Jan...
9
by: craigkenisston | last post by:
Hi, I'm writing an HttpModule in order to replace the parameters in the aspx pages to look like subdirectories. i.e. instead of having : myexample.com/default.aspx?category=cat1&subcat=cat2...
12
by: Jack Daly | last post by:
I've inherited some code which uses an undocumented feature of a third-party vendor's library. Essentially, this vendor has kept the details of an interface struct secret, but we can pass a pointer...
9
by: ma740988 | last post by:
Assume I have a vendor file called ' vendor.h'. Within the file there's two methods memalign and cforward. It is my understanding that the memalign function is a wrapper around malloc. cforward...
2
by: Jimmy | last post by:
If the user dbl clicks the field "vendor" I want it to open frmContacts to a blank record if there is nothing in the current field and if there is, open frm Contacts to that record. I have the...
2
by: Fresco | last post by:
On large invoices, it's better cash flow at times to pay only part now, part later. I tried using a totals query to build a recordset that show a listing of invoices that have balances owing with...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.