Forum Replies Created

Viewing 15 posts - 5,386 through 5,400 (of 6,395 total)

  • RE: Having Count

    This will give you a number in the first column based on how many times DQLinkID appears in the result set

    SELECT

    ROW_NUMBER() OVER (PARTITION BY bd.DQLinkID ORDER BY bd.DQLinkID) AS...

  • RE: Having Count

    can put it anywhere in the query you want

    SELECT

    ROW_NUMBER() OVER (PARTITION BY bd.DQLinkID ORDER BY bd.DQLinkID) AS NumMatches,

    bd.DQLinkID, ...............................

  • RE: Having Count

    ROW_NUMBER () OVER(...........) AS RowNum where you put in the over clause either a partitioning field and an ordering field or just an ordering field.

    in your case you will...

  • RE: MDF File Size

    ok try shrinking in small chunks as this can sometimes be faster than shrinking in one big go

    also I take it you are fully aware that you will need to...

  • RE: Having Count

    you just need to do a row_number based on the bd.DQLinkID then and it will say if its 1,2,3,4,5,6 rows for that particular DQLinkID which will give you a starting...

  • RE: Having Count

    the issue is down to the DQID's and registrations being different for the same DQLinkID and your group by is working as it should as it cannot group 416 into...

  • RE: Having Count

    take a look at the Create Some Data section of the article, or dump out the data into 2 excel files so we can import it

  • RE: Having Count

    can you post DDL and sample data along with your expected results as per the 2nd link in my signature block?

  • RE: MDF File Size

    and what about free space?

  • RE: Reporting Services Configuration Manager Lost Password

    sorry but it might just be me reading the problem, but what is the actual problem?

    has the service account used to run SSRS expired and needs a password change?

    have any...

  • RE: How do make some schema, other than dbo, show up

    Rod at work (3/27/2012)


    I believe I may have been rude with the initial post of this thread. If in fact you found my initial post to be rude, then...

  • RE: SSIS import data from Sybase to SQL

    +1 on Lynn's comment.

    We had a mix of Sybase ASA and SQL, used the ASA ODBC driver to create a DSN, then used an ODBC connection manager to point to...

  • RE: Pivot Data

    i would take a look at cross tabs, links below, and the pivot keyword.

    CT-P1[/url]

    CT-P2[/url]

    also follow the second link in my signature to post DDL and sample data so that we...

  • RE: SSIS connection manager

    can you attach a screen shot of the execute sql task details?

Viewing 15 posts - 5,386 through 5,400 (of 6,395 total)