Forum Replies Created

Viewing 15 posts - 91 through 105 (of 117 total)

  • RE: Seeking script to drop/create all indexes in database

    plain wrong.


    _/_/_/ paramind _/_/_/

  • RE: Seeking script to drop/create all indexes in database

    Ok, Jeff, I'll tell you Ever fumbled around with index fill factors? There are times when they have to be adjusted. How should a maintenance plan...


    _/_/_/ paramind _/_/_/

  • RE: Update Table for records up to a specified quantity

    I'm afraid you missed the goal

    or do you think, i'm payed per line of code?


    _/_/_/ paramind _/_/_/

  • RE: 5 Table Join

    definition : of course - just overpaced while planning dinner 

    But with the query, it is still NOT clear, whether inner or outer joins are meant. The...


    _/_/_/ paramind _/_/_/

  • RE: Update Table for records up to a specified quantity

    I wonder, why people always confuse CURSORS and LOOPS or whether they even know the difference...

    One solution:

    BEGIN TRAN

    DECLARE @OrderID INT,

      @OrderAmount FLOAT,

      @OrderAmountScheduled FLOAT

    WHILE @myAmounttoSchedule > 0

    BEGIN

     SELECT

      @OrderID = OrderID,

      @OrderAmount = OrderAmount,

      @OrderAmountScheduled...


    _/_/_/ paramind _/_/_/

  • RE: 5 Table Join

    DDL = data description language, which means the creation statements for your tables in this case.

    Is the following, what you mean? :

    On an event, multiple races take place(e). 

    For...


    _/_/_/ paramind _/_/_/

  • RE: 5 Table Join

    Post the DDL please. For now, I recommend, you qualify your joins. SQL Qyery Optimizer interprets, true, but are your joins MEANT to be what is interpreted? e.g. INNER, LEFT...


    _/_/_/ paramind _/_/_/

  • RE: Need Help With SQL For Calculating Time Worked

    >P.S. What a stupid idea to have date and time 1st - separated, 2nd - in varchar!<

    True. But I know where it originates ...


    _/_/_/ paramind _/_/_/

  • RE: Need Help With SQL For Calculating Time Worked

    Why make things simple when there are so many beautiful ways of complicating them?

    I suppose, your Calendar doesn't use correct datetime-format either ...

    SELECT

    SUM(DATEDIFF(ss,convert(datetime, RecvdDate + ' ' + RecvdTime),convert(datetime,...


    _/_/_/ paramind _/_/_/

  • RE: RTF to Text User Defined Function

    Have you checked, whether the object is really created?

    Next, are you sure, that you don't have to initiate some method on your object? I mean, you pass a parameter, do...


    _/_/_/ paramind _/_/_/

  • RE: need help with a function

    Serqiy is completely right, as far as design is concerned, but if you can't change design anymore, there's still another solution:

    Since you will not have an infinite number of...


    _/_/_/ paramind _/_/_/

  • RE: Current Date minus one???

    That's the >furthermore< script, monsieur, illustrating what  - CETERIS PARIBUS - is meant by the omission of an unnecessary grouping and ordering, not the proposed statement.


    _/_/_/ paramind _/_/_/

  • RE: comparing dates with different formats

    I suggest you cast only one of them, the one with the extended time information. You don't have to care about the format, since internally there's no difference in the...


    _/_/_/ paramind _/_/_/

  • RE: To get latest 3 inserted records from a table without date field or time stamp

    I'm afraid, the table has no fields as well

    Do you have a primary key that incorporates some logic, sort of identity-like procedure?

    Otherwise, if...


    _/_/_/ paramind _/_/_/

  • RE: Current Date minus one???

    No, I still don't! For an obvious reason - there's no need to

    Have a look at the whole thing: I did NOT...


    _/_/_/ paramind _/_/_/

Viewing 15 posts - 91 through 105 (of 117 total)