Forum Replies Created

Viewing 15 posts - 21,511 through 21,525 (of 22,195 total)

  • RE: Dynamically create cursor

    How about something like this? It doesn't provide for a zero based sequence number, but it does put the numbers in the correct order. Indexing could be an issue to....

  • RE: Dynamically create cursor

    The only way to do it is to build it out completely, but I have to agree, are you sure you need a cursor?

    Here's an example, ugly though it...

  • RE: Rearrange Identity values

    rose_red1947 (11/14/2007)


    Hi

    I have two fields, first field is with identity values like

    1,A

    2,B

    3,C

    4,D

    5,E

    6,F

    7,G

    8,H

    9,I

    10,J

    I need to delete values 3,C and 7,G after this i want to rearrange identity values to get...

  • RE: WHY heterogeneus queries require the ANSI_NULLS?

    Those are settings that the tool the user is accessing the database from must set. They are controlled per connection.

  • RE: Data population in database?

    What do you mean by "data created at the database level"?

    Do you mean, is it more or less performant to create a GUID or some other type of primary key...

  • RE: Foreign keys good or bad practice?

    Megha Yadav (11/15/2007)


    Yes I do understand the importance of the foreign keys for maintaining the integrity ................but what the question is that if the system is working without it why...

  • RE: Foreign keys good or bad practice?

    SQL Noob (11/14/2007)


    zip codes are one thing, but a lot of times you have varchar data where a sales person fills it out and just puts in the wrong data...

  • RE: Foreign keys good or bad practice?

    SQL Noob (11/14/2007)


    there are no good and bad or black or white in SQL, only gray areas and what is good for your situation

    we have very few FK's where i...

  • RE: Foreign keys good or bad practice?

    Personally, I'd say yes, add the constraints.

    Everything Michael Earl said is true. You can simply rely on the fact that the application has the integrity covered. However, as a DBA,...

  • RE: Metadata Structure / Design Issues

    Well, let's say you have 30 different fields, all customizable by the user. This particular user only uses 5 of the fields, the other 25 lie fallow. When you insert...

  • RE: Another story published!!!

    Congratulations. Wonderful achievement.

  • RE: Foreign keys good or bad practice?

    Foreign keys do not directly help performance. They are simply constraints on the data.

    What you're saying is, that the developers are not like the rest of us humans. They make...

  • RE: Sample every nth record

    Except if there are gaps (which there usually are) and you really need exactly every nth record from some particular order. Then you still have to do some kind of...

  • RE: Sample every nth record

    That's right there with my take on it, but I tried supplying the ID field in case the table didn't have one, or there were gaps or whatever. "Every 'X'"...

  • RE: Sponsored Content

    I think it's a fine idea.

    I'd still want to be able to comment on any article from a vendor. That would tend to keep the playing field level and honest....

Viewing 15 posts - 21,511 through 21,525 (of 22,195 total)