Forum Replies Created

Viewing 15 posts - 3,421 through 3,435 (of 6,486 total)

  • RE: calculating percentage

    If you're writing this in MSAccess' version of SQL - you may need multiple queries (I don't recall it allowing for sub-queries).

    Totals: select count(*) Grandtotal from motivo

    SELECT Motivo.motivo, Count(Motivo.motivo) AS...

  • RE: IS SQL2005 needed to CALL ssis in c# ?

    As far as I know - all you need are two references (that can be set to "copy local" during your project setup):

    Microsoft.SQLserver.DTSRuntimeWrapper

    Microsoft.SQLServer.ManagedDTS

    Assuming those are there I don't think you...

  • RE: Writing Triggers in SQL2000

    davidthegray (5/6/2008)


    Hi Steve. Thanks, but this does not really answer my question.

    Triggers are supposed to run just once if a single SQL instruction updates several rows in one time. Let's...

  • RE: IS SQL2005 needed to CALL ssis in c# ?

    You can add references to the "DTS Runtime libraries" and get to the packages from there (it's the SSIS runtime as well, just under the "old" name).

    How did...

  • RE: sql server does not use index without hint

    Rem (5/6/2008)


    What I meant was if I add a Primary Key Constraint, the data will be sort according my key and will not be a heap table anymore.

    In...

  • RE: Parsing a cell into multiple rows

    wdillon (5/6/2008)


    Hi Jeff, I got the Tally table thing worked out from finding on another post of yours. WOW!!!! The data looks great!! Do you ever...

  • RE: can PIVOT command transpose rows into columns

    nagarajanmm (5/6/2008)


    Hi,

    I need to convert rows into columns for the following table values.

    Attribute_ID Attr_Value

    1 ...

  • RE: ANSI_NULLS

    Hey - I think this is a DUMB question, and the author should get smacked around. I mean - sheesh....

    Oh wait - never mind...:D

    (thanks for the feedback guys!)

  • RE: sql server does not use index without hint

    Rem (5/6/2008)


    Instead of moving the index from non-clustered to clustered, if I add a primary key on field "ID" to the table, this work?

    Thanks

    I'm not quite sure what you mean...

  • RE: Get First row value

    Karthik - you're looking at implementing something like in Jeff's article on running aggregates.

    http://www.sqlservercentral.com/articles/Advanced+Querying/61716/%5B/url%5D

  • RE: Database hacked - How to find make secure & find traces

    onlybemine (5/6/2008)


    Since movign to stored proc is another big investment because of size of work.. which i couldn't do this stage....

    Also

    How to stop SQL Injection via webforms i am...

  • RE: Pivot; With clause; Aggregate?

    If you're hell-bound on using this in a pivot, you might care to check out one of the SQL 2005 alternatives Jeff didn't include in the article: a user-defined aggregate...

  • RE: Poor Performance 64-Bit vs. 32-Bit, or 1 CPU vs. 2 CPU

    well - you're here already - so you're most of the way there already:). Actually - there's a ton of stuff on here about set-based vs. cursors. Just...

  • RE: Tally Table

    Jeff Moden (5/6/2008)


    Holy Moly... that's one heck of a lot of analysis. Did they actually get anything useful out of all that?

    There were definitely some interesting usage patterns (people...

  • RE: Tally Table

    Jeff Moden (5/6/2008)


    GSquared (5/6/2008)


    Dateadd lists of datetimes. For example, if you need a second-by-second list of all times in a month, or a quarter. (10,000 seconds is a...

Viewing 15 posts - 3,421 through 3,435 (of 6,486 total)