Forum Replies Created

Viewing 15 posts - 19,726 through 19,740 (of 22,202 total)

  • RE: Problem with "execute" procedure rights.

    Not per se. The thing is, you need to be very careful about how you manage security. If you give a role blanket execution priveleges, then you may need to...

  • RE: Validating existence of a records against two fields.

    OK. You may or may not want to continue the existence check. From what I can see though, I think you could skip it. It looks like you're doing a...

  • RE: The Active DBA

    I volunteer to continue processing beer to lager as time & money allows. I know it's a sacrifice, but someone has to do it.

  • RE: Relationships

    This really gets into DB design, but based on what you're saying, I would drop the FK that is currently in place on the Property table. From what you say,...

  • RE: The Active DBA

    majorbloodnock (8/13/2008)


    Grant Fritchey (8/13/2008)


    Jeff Moden (8/12/2008)


    Now... if you can do that without spilling the Beer you're holding... 😉 The really good ones can do it while taking a sip...

  • RE: Relationships

    Let me understand this...

    The Historical_Propertys table has a pk, Property_ID. The Property_Managers table has a pk, Property_ID. There is a foreign key constraint on the Historical_Propertys table against the Property_Managers...

  • RE: Problem with "execute" procedure rights.

    I'm a little confused. If you grant execute to a stored procedure that can insert data... it's going to insert data. The way around it is to not grant execute...

  • RE: SQL Automation Execution Tools

    While I love VS for DB's and I'm even presenting a session at PASS on how to use it for multi-environment deployments, I don't think it will do what you're...

  • RE: Validating existence of a records against two fields.

    Well... It depends...

    The IN clause in this case is probably going to cause a table scan. I'd say that you're better off using IF EXISTS in a nested fashion such...

  • RE: Is it wise to handle business logic in sql procedure

    Whether or not business logic should be inside a query is a HUGE debate. There are extremists on both sides. I'm pretty much in the middle. If it makes sense...

  • RE: Relationships

    Can you post the scripts you're using to create the tables? There may be something there.

  • RE: The Active DBA

    Jeff Moden (8/12/2008)


    Now... if you can do that without spilling the Beer you're holding... 😉 The really good ones can do it while taking a sip without getting getting...

  • RE: Operations Manager Custom Collection

    Good to know. Unfortunately, with the division of labor where I work, I don't have the ability to do that. But if I really need it, I know what to...

  • RE: SQL Profanities

    GilaMonster (8/12/2008)


    Grant Fritchey (8/12/2008)


    I'm on the way home, I'll try to set up a test tomorrow.

    I saved you the trouble.

    http://sqlinthewild.co.za/index.php/2008/08/12/views-or-functions/

    Too late. I ran up a silly example and posted...

  • RE: SQL Profanities

    riix (8/12/2008)


    Grant you seem more stressed than Gail; the point of discussion was Gail earlier stmt:

    "Just watch the performance implications. A single statement tvf is usually fine, the multi-statement ones...

Viewing 15 posts - 19,726 through 19,740 (of 22,202 total)