Forum Replies Created

Viewing 15 posts - 5,071 through 5,085 (of 5,096 total)

  • RE: Parameter advice please

    Jeff Moden (12/1/2015)


    You don't need OR. Please see the following article.

    http://www.sqlservercentral.com/articles/T-SQL/105968/

    Mmm, you're right, I should really be using a case statement instead to be honest, only one trip to...

  • RE: Transfer Database Task

    GilaMonster (12/1/2015)


    No, but generally a better (easier, less prone to errors) way of getting a DB from SQL 2008 to SQL 2012 is backup/restore. Is that an option?

    What we've been...

  • RE: automate weblink to csv to database

    There is a Web service task which you can call the Web Service from, and a File System task which can copy files.

    You'll need to configure each node appropriately for...

  • RE: Parameter advice please

    faulknerwilliam2 (12/1/2015)


    Thanks for getting back.

    I have tried:

    WHERE ...

    AND ((job.orderdate BETWEEN (@odate1) AND (odate2))

    OR (job.completeddate BETWEEN (@odate1) AND (odate2)))

    Which nearly works in that it brings through the correct completed total....

  • RE: Report Manager wont allow parameter selection when adding / modifying a Subscription

    What happens when you click the link to amend the subscription? I can't say I ever experienced this issue when we had SQL 2008, however, it sounds a bit like...

  • RE: [Question] Conditional subscription/reporting is it possible

    Resender (11/30/2015)


    I've solved it by making a duplicate of the requested report with the filters they wanted.

    Hmm, do you mean you created a second report? If your report could be...

  • RE: Happy Thanksgiving 2015

    FridayNightGiant (11/26/2015)


    Larnu (11/26/2015)


    Unless I'm doing something funny, when I run D, I actually get 27/11/2015 (when i run it for this year, sorry, I forgot to mention that). Just me?

    It...

  • RE: Table shrinking on Export

    Managed to fix this in the end by exporting to a .doc rather than a .docx. not really ideal, but it solves the problem. I'm guessing it's a problem with...

  • RE: [Question] Conditional subscription/reporting is it possible

    Are you running enterprise? If I recall correctly Conditional/Dynamic subscriptions are only available on Enterprise, not standard.

  • RE: Happy Thanksgiving 2015

    Unless I'm doing something funny, when I run D, I actually get 27/11/2015 (when i run it for this year, sorry, I forgot to mention that). Just me?

  • RE: SQL Server 2016 Stretch Database

    Does anyone know what edition this is likely to be shipped with? I'm guessing enterprise, but I can live in hope that it might be the BI or Standard.

  • RE: Job Schedules

    You could also use format (as below), if using SQL Server 2012 or later.

    where js.next_run_date = cast(format(GETDATE(), 'yyyyMMdd') as int)

    Cheers!

  • RE: Create Procedure

    Toreador (11/4/2015)


    Larnu (11/4/2015)


    Asking if you would avoid calling an sp 1MyProc, the simple answer is yes, because you can't do it.

    But you can do it - I gave you the...

  • RE: Create Procedure

    Toreador (11/4/2015)


    tripleAxe (11/4/2015)


    I also agree with these comments above. If they give syntax errors then you have no choice but to avoid them.

    You do have a choice - you...

  • RE: More wildcard searches

    There are clearly 5 rows in the create table script, if "all" the rows are returned, then all = 5.

Viewing 15 posts - 5,071 through 5,085 (of 5,096 total)