Forum Replies Created

Viewing 15 posts - 181 through 195 (of 992 total)

  • RE: latest sql server 2005 patch

    There's even a cumulative update 6 now 🙂 I've tried it out and haven't yet seen any ill effects but I'm not using the full gamut of SQL Server...

  • RE: with nolock in sql server please advice

    And, in a really busy environment, your No Lock query could say there's table corruption when there really isn't. I cannot remember the exact cause but it's to do...

  • RE: merging two columns one by one

    Some examples of the data in tables A, B & C would help in the understanding...

    You could do something like

    select

    coalesce(A.TarrifCode, C.TarrifCode) as TarrifCode,

    A.Actual_Unit,

    C.Est_Unit

    from...

  • RE: Cross database query.

    You should be fine. However, you could try moving the table to see if it helps? Alternatively, a middle ground could be to create a SYNONYM which may...

  • RE: List of SQL 2005 features incompatible with level 80?

    One important thing (which is documented in BOL) is that the "WITH" keyword for table and index hints is NOT optional in mode 90. The script generated by Enterprise...

  • RE: How to have multiple WHERE clauses depending on condition

    You could still combine them into a single query using a UNION and a where clause that checks for the parameter being null or not null as appropriate.

    You'll want to...

  • RE: Will Cascade Delete help Me?

    There's no "right" answer. It's always "it's depends" 😀

    In your system it may make more sense to have a deleted bit flag in your (for example) orders table rather...

  • RE: Automatically join tables

    Is this homework? 😀

    I recommend you look up some sort of SQL Tutorial in Google, or get a "Teach yourself SQL in 24 hours/30 days" style of book. You'd...

  • RE: temporary table and indexes

    select into is a shorthand convenience to both create and populate a table at once without having to explicitly do a CREATE TABLE statement.

    It even allows you to, on the...

  • RE: exec commands stored in a variable

    What are you trying to accomplish? Why does it need the GO statement separator?

    If you need the GO statement separator then you could do two exec calls rather than...

  • RE: Formatting Output

    It could be done in MS SQL but I'd very strongly recommend you do it in the application. Just return the three datasets (you can even order them if...

  • RE: Urgent Help

    I'm not quite sure I follow, but it seems from reading the other comments that you have log shipping set up to keep a warm server ready for reporting... ...

  • RE: Who dropped the database?

    Could you look on your server to see which users have the rights to do so?

  • RE: Combining sequential events in a table

    There are a few solutions. I would check the execution plan on each of them and pick your favourite.

    Both assume that there is a logon always followed by a...

  • RE: NULL Equals NULL?

    I was going to leave a nice message about what a wonderful article this was and then instead spent a LONG time reading all of the posts! WOW 😀

    Anyhow, I...

Viewing 15 posts - 181 through 195 (of 992 total)