Forum Replies Created

Viewing 15 posts - 3,901 through 3,915 (of 5,109 total)

  • RE: Extract only the filename from a file path

    Personally, I feel this might be a bit more concise:
    DECLARE @FilePath VARCHAR(500) = '\\FileServer\\FileShare\\Directory\Sub Directory\My File Name.pdf';

    SELECT @FilePath AS FilePath,
           RIGHT(@FilePath,...

    Thom~

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

  • RE: IEXPORT DATA INTO TABLE FROM EXCEL SHEET IN SSIS

    Unless you have some logic, if you have an Excel document where there are blank lines before the end of the document, then all of these lines will still be...

    Thom~

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

  • RE: SSRS results to be exported to SFTP folder

    savioceg - Thursday, April 13, 2017 7:49 AM

    Thom A - Thursday, April 13, 2017 7:44 AM

    Thom~

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

  • RE: SSRS results to be exported to SFTP folder

    It all depends what's bigger, the budget to pay a team to rebuild your entire reporting suite or pay for a new solution to allow you to deploy straight to...

    Thom~

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

  • RE: Date conversion in ssis

    SSIS does no understand named months (or at least I'm pretty sure it doesn't, as I know I have conversion expressions to deal with it in some my my packages)....

    Thom~

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

  • RE: There is insufficient system memory in resource pool 'default' to run this query.

    there's certainly nothing wrong with staging tables when doing ETL. Although it's sometimes "nice" to do every transformation in one hit, it's often a lot to ask to do something...

    Thom~

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

  • RE: Date conversion in ssis

    Charmer - Thursday, April 13, 2017 6:32 AM

    I am trying to convert into datetimestamp. I am able to get until first 3...

    Thom~

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

  • RE: Date conversion in ssis

    When you say "trying to convert", what is it you're attempting to do to convert the number as well?

    Thom~

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

  • RE: Ranking in non numeric charater

    yuvipoy - Thursday, April 13, 2017 4:26 AM

    Can we use Rank or Dens_Rank, to obtain the result?

    Have you tried? Why don't you...

    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?

    Grr... Some of the schedule tasks failed this morning... Took me while to then notice someone has the repository folder... I have an idea who it is (as it could...

    Thom~

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

  • RE: SSRS results to be exported to SFTP folder

    If you can't save the files to a file share first, then you're going to find this quite difficult.

    What is the "real" reason your storing files, even temporarily,...

    Thom~

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

  • RE: Import Exports Wizard wont connect to database

    When you say it refuses to see it, do you mean it doesn't show up in the drop down? Considering you said it doesn't appear in SSMS in the networked...

    Thom~

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

  • RE: 'invoke-sqlcmd' is not recognized as the name of a cmdlet

    CoryEllingson - Wednesday, April 12, 2017 7:38 AM

    Grant,

    Thank you, I had reviewed this, tried this, and this did not work.  Today I...

    Thom~

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

  • RE: Latest price paid per supplier per product

    CREATE TABLE #Supply
      (ITMREF_0 int,
      IPTDAT_0 date,
      BPRNUM_0 int,
      Price int);
    GO

    INSERT INTO #Supply
    VALUES
      (1, '20161002', 1,...

    Thom~

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

  • RE: Import from File

    BULK INSERT would work ok, if the file name was consistent. With the file changing then it probably wouldn't be ideal, and I'm not sure you're be able to archive...

    Thom~

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

Viewing 15 posts - 3,901 through 3,915 (of 5,109 total)