Forum Replies Created

Viewing 15 posts - 2,956 through 2,970 (of 13,874 total)

  • Reply To: Getting only MM/DD from the Column of type varchar(50)

    Like this?

    DECLARE @x VARCHAR(50) = '2020-02-06'

    SELECT @x, REPLACE(RIGHT(@x,5),'-','/')

  • Reply To: DATEFROMPARTS and CONVERT failing but only when inside an SP

    MVDBA (Mike Vessey) wrote:

    Phil Parkin wrote:

    MVDBA (Mike Vessey) wrote:

    upgrade quickly, then you can use querystore and plan guides

    Yeah, just wing it. I'm sure everything will be OK 🙂

    that is what my IT director keeps telling...


  • Reply To: Getting only MM/DD from the Column of type varchar(50)

    What format is it in now? YYYYMMDD? MM/DD/YYYY? etc

    Also, why not use a DATE (or DATETIME) column to store dates? That's what they're for. Makes everything so much easier.


  • Reply To: Copy latest sql full backup file from one server to another

    What command are you running from SSMS to perform a file copy?


  • Reply To: Copy latest sql full backup file from one server to another

    Have you configured the job to run as you?

    What errors do you get with a straight copy?


  • Viewing 15 posts - 2,956 through 2,970 (of 13,874 total)