Forum Replies Created

Viewing 15 posts - 3,721 through 3,735 (of 5,109 total)

  • RE: Uploading Excel File data into SQL database via a website

    Will the spreadsheet(s) always be in the same format? Personally I would suggest that you upload the file(s) to a specific place, and store the name of the file in...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: weird string problem

    solus - Monday, May 15, 2017 3:32 AM

    my login language is set to English

    So, again, this is why 18/10/17 is failing, there...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: common table expression in a stored procedure

    What's your full SQL statement, with your CREATE statement? I imagine that your CREATE statement is wrong, not your CTE statement. It should look something like this:
    CREATE...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: http://menshealthcme.com/phallyx/

    Spam is bad for your health, 🙁

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: divide by zero

    The problem with sending the value @exchangeRate = 0 is because you have the following equation in your SQL:
    CAST((IDG.RELOCATION_EXP*@prev_exchangeRate)AS float)/ CAST(@exchangeRate AS float)
    The part in bold...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Are the posted questions getting worse?

    http://www.bbc.co.uk/news/health-39899646

    Although they say that no patient data appears to have been compromised, makes me even more glad I probably haven't had to use the NHS in almost...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: weird string problem

    solus - Friday, May 12, 2017 8:55 AM

    this works
    SELECT TRY_CAST('10/18/2016 00:00' AS date)

    I get
    2016-10-18

    so sql server still thinks its US format

    Have you...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: weird string problem

    solus - Friday, May 12, 2017 8:34 AM

    Ive just executed these two commands and restarted the server, but its still showing language...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: weird string problem

    solus - Friday, May 12, 2017 8:21 AM

    date format is dmy
    language is english (united states) although it should really be english UK,...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: weird string problem

    This converts fine on my machine:
    SELECT TRY_CAST('18/10/2016 00:00' AS date)

    Does that I can assume that you would see "18/10/2016" as the 10th day of the...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: weird string problem

    Firstly, let's find out what dates your SQL server doesn't like.

    Could you give us some samples for the results that are returned for this query?
    SELECT...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: SSIS ForEach Loop Container recursion question

    I was actually planning to use a Script Component and an ADO variable as the datasource, however, when I get to the second iteration I get no results from the...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: Are the posted questions getting worse?

    Brandie Tarvin - Friday, May 12, 2017 5:02 AM

    I could use a little bit of SSIS brainstorming assistance over here...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: weird string problem

    solus - Friday, May 12, 2017 3:01 AM

    the try-cast method worked, although it seemed to stop any folllowing commands from executing (I...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • RE: weird string problem

    solus - Friday, May 12, 2017 2:44 AM

    I dont have a StringTime datatype.  The reason its a varchar is because the data...

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

Viewing 15 posts - 3,721 through 3,735 (of 5,109 total)