Forum Replies Created

Viewing 15 posts - 61 through 75 (of 75 total)

  • RE: Small WHERE clause problem

    Yes, you're right about NULL. I just tried the use of a boolean bitUseDateSelection (which defaults to 0 unless both dates aren't NULL).

    The result would be something like: SELECT * FROM...

  • RE: Q about using functions in select statements

    Calvin, thanks for your reply. I did ignore the multi-tier aspect as you pointed out. But alas, developers would like an OO implementation, customers demand the best performance. And I'm caught...

  • RE: SQL Server VS. Oracle - Making the Argument...

    Nice balanced article, Chris, although I am afraid that EB24 hoped for a more PRO-MS article to convince his superiors.

    Which I am not qualified to provide. I use both as...

  • RE: Q about using functions in select statements

    First of all, thank you for your suggestions.

    Some solutions will not work. The prices are amongst others dependant op selected customer, products, various productspecifications, contents of package, and the package....

  • RE: Q about using functions in select statements

    It is an OLTP app, and I used 150000 rows to demonstrate the difference in performance. Normally would be something like 1000 rows.

    The calculation is quite complex (lots of percentages,...

  • RE: Desktop Edition minus Client Tools = MSDE?

    I am referring to tools like Query Analyzer and Enterprise Manager. My company has a SQL Server Enterprise license, but I need the MSDE to distribute with an application to...

  • RE: QOD dec 19

    What are the consequences of using SET DATEFORMAT or SET LANGUAGE for Stored Procedures?

    We noticed that using SET DATEFORMAT dmy; resulted in a decrease in performance, possibly due to recompilation...

  • RE: Incrementing records

    When I started programming SQL Server stored procedures, I also did not use the autoincrement feature. So I created a stored procedure nextvalue which returned a new ID.

    Everytime I...

  • RE: Nested subqueries

    NPeeters and EdVassie,

    Thank you both for your remarks.

    NPeeters, you solution was almost identical as ours in that it results in a Cartesian product. That was the problem I was asked...

  • RE: Nested subqueries

    Thank you for the illumination, Brokenrulz.

    The use of the CASE statement is just what I needed.

    Incidentally I needed the data from an undelying table, in my example [Order Details].UnitPrice....

  • RE: Triggers: determine name of updated column

    Oops, forgot to mention that I determine @Id by means of the INSERTED table.

    SELECT @Id = MyTableId FROM INSERTED

    Gerry

  • RE: Triggers: determine name of updated column

    Gentlemen, thanks again for some slick T-SQL.

    So I can determine the column, but now I need to determine the value.

    I can use something like:

    SELECT @sql = 'SELECT...

  • RE: Triggers: determine name of updated column

    Thank you both for your response.

    The script of mccork combined with the explanation of teh general formula by a5xo3z1 has helped me a lot!

    Gerry.

  • RE: Triggers: determine name of updated column

    Thank you for your reply.

    Apparently it can be done, but could you give a simple example? I don't kow how to use the bitmask variables.

    Gerry.

  • RE: HELP: Dropping a column damages a stored procedure

    quote:


    One way is to search through SYSCOMMENTS ...


    Jeremy,

    Thanks for your quick solution. It was exactly...

Viewing 15 posts - 61 through 75 (of 75 total)