Forum Replies Created

Viewing 15 posts - 376 through 390 (of 1,065 total)

  • RE: Trigger issue

    The trigger fires only once per INSERT statement received by the database.

    So, if your application is generating 1 insert statement for each row the user selects from the GUI, then...

  • RE: Trigger issue

    If I'm right in what I think you are trying to do, then either you are testing against the wrong table or you don't have the correct concept of when...

  • RE: Schema Design With Multiple Related Relationships

    So you actually have a many to many relationship between a dealer and a vehicle. Therefore, isn't a claim related to the DealerVehicle entity, not the vehicle itself?

    Manufacturer

    ...

  • RE: Recover Log Shipping and then Resume Log Shipping

    If you use the system stored procedures sp_change_primary_role and sp_change_secondary_role to switch the roles in the first place, and then use them to reverse the roles when you have finished...

  • RE: Schema Design With Multiple Related Relationships

    A vehicle has one dealer (IssueDealer).

    A claim belongs to a vehicle.

    A claim has one dealer (RepairDealer).

    That sounds like you have circular relationships.

    If a claim belongs to a vehicle, and a...

  • RE: Schema Design With Multiple Related Relationships

    There are a lot of things to consider before coming up with the right data model for this... for a start

    Do dealers actually belong to a manufacturer... in the UK,...

  • RE: delete cascade trigger

    A word of warning about using DELETE CASCADE if you are using transactional replication.

    I don't know if this is still relevant to SQL 2005, but it certainly happened in SQL...

  • RE: Please review BCNF (Put things where it belongs)

    Jeff Moden (9/17/2009)


    Are you saying that if someone else had a checking account with the name Jeff Moden on it, that I shouldn't be allowed to use my name on...

  • RE: Design of Master / Child Tables ???

    Don't compromise the design of your database just to have fewer tables and make the SQL easier/shorter... you will just be storing up problems that will have the potential to...

  • RE: Design of Master / Child Tables ???

    If the following is true...

    A Market can have many Products, but a Product can be in only one market

    A Product can have many Models, but a Model can be in...

  • RE: 2 instances using the same database file ????

    tvantonder-992012 (10/5/2009)


    Not the server name itselfs. Is this possible with Network??

    Yes it's possible.

    Run the client network utility from the machine where you are seeing the 2 instances and have a...

  • RE: 2 instances using the same database file ????

    I can't see your screenshot... but it's possible to create an Alias for a server (using the client network utility) so you can refer to the same instance using multiple...

  • RE: .mdf file @ 0 bytes .ldf 6GB?

    As has been said, without backups, the SQL Server route is going to be a dead loss.

    If the log reader suggestion doesn't work, then it may be worth trying some...

  • RE: Constraint for only certain values

    Um, no. The view only selects rows with an active domain, IsActive is a fixed value for these.

    I must be having a "senior moment", but I still can't work it...

  • RE: Constraint for only certain values

    Mark-101232 (10/2/2009)


    CREATE VIEW dbo.ActiveDomainNames

    WITH SCHEMABINDING

    AS

    SELECT DomainID,AffiliateID,DomainName,CreatedDate

    FROM dbo.MyTable

    WHERE IsActive=1

    CREATE UNIQUE CLUSTERED INDEX ix ON dbo.ActiveDomainNames(DomainName)

    I see the idea (very neat), but can't figure out how that would limit it to a...

Viewing 15 posts - 376 through 390 (of 1,065 total)