Forum Replies Created

Viewing 15 posts - 436 through 450 (of 626 total)

  • RE: How can I tell if a certain table is being hit?

    GilaMonster (11/4/2015)


    yb751 (11/4/2015)


    Also as Gail's answer eluded to, it only helps if those tables have an index. If you have any heaps you are out of luck.

    No, index usage...

  • RE: How can I tell if a certain table is being hit?

    Also as Gail's answer eluded to, it only helps if those tables have an index. If you have any heaps you are out of luck.

  • RE: Sum grouping rows

    edfimasa (10/30/2015)


    I have to check the results, using SQL I can fix it.

    The issue was using SSRS for my colleague .

    Thanks

    You are right in that you can't just do a...

  • RE: Sum grouping rows

    Or something like this...

    DECLARE @myTable TABLE (SomeDate DATE, Col1 INT, Col2 INT, Name NVARCHAR(10))

    INSERT INTO @myTable

    VALUES

    ('2015/10/01', 50, 13, 'personA'), ('2015/10/01', 50, 11, 'personA'), ('2015/10/03', 50, 21, 'personA'), ('2015/10/01', 50, 17,...

  • RE: Sum grouping rows

    Is this what you are looking for?

    DECLARE @myTable TABLE (SomeDate DATE, Col1 INT, Col2 INT, Name NVARCHAR(10))

    INSERT INTO @myTable

    VALUES

    ('2015/10/01', 50, 13, 'personA'), ('2015/10/01', 50, 11, 'personA'), ('2015/10/03', 50, 21, 'personA'),...

  • RE: Sum grouping rows

    Welcome to the forum. In the future please post some DDL code to help us help you. Trust me you'll get help much faster.

    Read this excellent article on...

  • RE: Which gives the greatest points?

    Being in N. America Rugby isn't very popular here but I got the question right anyway using (American) Football as my reference. 😉

  • RE: Are the posted questions getting worse?

    Ed Wagner (10/29/2015)


    yb751 (10/29/2015)


    I was on my last eye twitch yesterday (so to speak) so I put together this image. (attached)

    I was thinking about unleashing it but then I thought...

  • RE: Thank you to the Forum

    Agreed, my #1 source online for everything SQL. I've learned more on these forums than anywhere else hands down. 😀

  • RE: Are the posted questions getting worse?

    I was on my last eye twitch yesterday (so to speak) so I put together this image. (attached)

    I was thinking about unleashing it but then I thought maybe it was...

  • RE: Sending out emails.

    Lowell (10/28/2015)


    SQLPain (10/28/2015)


    yeah that's true, currently I have more than 50 jobs set up on reporting server, all with funky name, don't know how to figure out which one is...

  • RE: Sending out emails.

    Try this:

    SELECT

    ScheduleID,

    [Path],

    [Name],

    s.Description

    FROM ReportServer.dbo.catalog c

    JOIN ReportServer.dbo.Subscriptions s on c.ItemID = s.Report_OID

    JOIN ReportServer.dbo.ReportSchedule rs on rs.SubscriptionID = s.SubscriptionID

  • RE: Sending out emails.

    SQLPain (10/28/2015)


    On the description of the Job 'D26XXX' I see the following note:

    'This job is owned by a report server process. Modifying this job could result in database incompatibilities. Use...

  • RE: Sending out emails.

    Have you opened the job and more particularly that job step? Likely, all you need to do is modify the call and add more recipients.

    Look for something like:

    @recipients = 'John@AdventureWorks.com',

    And...

  • RE: beginner row to column ?

    christophe.bernard 47659 (10/28/2015)


    Hi yb751, Luis Cazares

    thanks for your time that's exactly what I want ..

    I don't know the function pivot but I can see that's very powerfull ..

    @yb751 => your...

Viewing 15 posts - 436 through 450 (of 626 total)