Viewing 15 posts - 5,386 through 5,400 (of 6,395 total)
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...
March 28, 2012 at 3:33 am
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, ...............................
March 28, 2012 at 3:26 am
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...
March 28, 2012 at 3:19 am
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...
March 28, 2012 at 3:17 am
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...
March 28, 2012 at 3:14 am
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...
March 28, 2012 at 2:45 am
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
March 28, 2012 at 2:29 am
can you post DDL and sample data along with your expected results as per the 2nd link in my signature block?
March 28, 2012 at 2:21 am
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...
March 28, 2012 at 1:45 am
Rod at work (3/27/2012)
March 28, 2012 at 1:42 am
take a look here http://ola.hallengren.com/
March 28, 2012 at 1:38 am
+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...
March 28, 2012 at 1:36 am
i would take a look at cross tabs, links below, and the pivot keyword.
also follow the second link in my signature to post DDL and sample data so that we...
March 28, 2012 at 1:32 am
can you attach a screen shot of the execute sql task details?
March 28, 2012 at 1:29 am
Viewing 15 posts - 5,386 through 5,400 (of 6,395 total)