Forum Replies Created

Viewing 15 posts - 661 through 675 (of 5,111 total)

  • Reply To: power shell script for add datetime to file

    DinoRS wrote:

    I have never met a 3 digit month before

    MMM notation for a month means the first 3 characters of the name of the month? m and d, etc,...

  • Reply To: Flat file source to destination table is getting only top 1 record into table

    Agreed, a Script Component is what you want, not a Script Task; the 2 are distinctly different (1 for use in the Control Flow the other the Data Flow)....

  • Reply To: I am new to SQL world

    Jeff Moden wrote:

    Just remember that the YYYY-MM-DD formats aren't actually followed as ISO in SQL Server even though it is a valid ISO format.  For example, if you set the language...

  • Reply To: Flat file source to destination table is getting only top 1 record into table

    123456|20130701|AWD|WS1035575|20170201|VCDF|MA1064844|20110001|NHS|AS19474754|20160401|EFV7|LK

    Is more than 4 columns. What is your row delimiter here, the 4th | character? If so, can you change that? Using a row delimiter that's the...

  • Reply To: I am new to SQL world

    Kabina wrote:

    This is backend tables are on SQL server where I got access to retrieve data where datatype for POdate is nvarchar(48).

    That doesn't explain the data type choice. A varchar...

  • Reply To: I am new to SQL world

    Kabina wrote:

    Jeff Moden wrote:

    What is the actual datatype of the POdate column?

    Datatype is nvarchar(48) but when I run Isdate() function it shows 1 which is valid date.

    ISDATE() , like it's "friend"...

  • Reply To: Round at specific decimal point

    Phil Parkin wrote:

    david.wootton wrote:

    (38,0) default

    I think not. You should really test things before posting them here. Using a precision of 0 causes immediate rounding to the nearest whole number.

    2019-11-18_11-38-46

  • Reply To: I am new to SQL world

    This is pseudo-SQL, but seems like you'd be better off with a start and end parameter, which you set at the start of the batch:

    DECLARE @StartDate date...
  • Reply To: I am new to SQL world

    Jeff Moden wrote:

    Thanks, Thom.  Understood on the 2019 stuff.  I was under the impression that it wasn't actually a "4th" type... I was under the impression that if SQL Server could...

  • Viewing 15 posts - 661 through 675 (of 5,111 total)