Forum Replies Created

Viewing 15 posts - 16 through 30 (of 2,894 total)

  • RE: Ignore First row in data file in bulk insert

    1. check your first row is separated by the same row separator as all other

    2. from https://msdn.microsoft.com/en-gb/library/ms188365(v=sql.105).aspx: the FIRSTROW attribute is not intended to skip column headers. Skipping headers is...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Find Alt code characters

    karthik M (2/13/2015)


    expected output:

    SpecialCharacter RowNum

    ä 1,3

    + ...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Find Alt code characters

    Your question setup doesn't contain enough details to help you. If you could follow the following http://www.sqlservercentral.com/articles/Best+Practices/61537/ providing exact ddl for table you have, good sample setup and exact expected...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Help!!!

    Jeff Moden (2/12/2015)


    somubhandaru23 (2/11/2015)


    if you want to copy a small table with its data into a new table, what is your best option. (if select into answer, ask why it...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Need help in SP Its urgent :-( please help me

    ...

    yes, that's true. I am not good in code tuning / optimization.

    If there is no-one to tune this code, the only option I can suggest is to increase Connection Timeout...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Help!!!

    ... (if select into answer, ask why it would be problematic if the data set is large).

    BTW, if I would hear that back from interviewer for SELECT INTO answer, it...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Find Alt code characters

    I have a table with code and description as below

    create table isin_code

    (

    code varchar(5),

    code_desc varchar(255)

    )

    ...

    I want to identify the list of alt codes available in the table.

    Inputs are welcome!

    If you need...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: error in SQL String by CONCAT

    Also, note: CONCAT() is not an aggregate function.

    If you aim is concatenate string values from different rows to single string, google for "concatenate string FOR XML PATH"

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Winscp to get only current days files

    muthyala_51 (1/21/2015)


    @Elutin - Thank you.

    Can you also let me know without using WINSCP- SQL 2008 R2 using SSIS how can this be achieved as there is no SFTP Task available....

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Winscp to get only current days files

    muthyala_51 (1/21/2015)


    I installed Winscp and I am using a batch file using WINSCP commandlets as shown below

    example:

    "C:\Program Files (x86)\WinSCP\winscp.com" /command "open sftp://testsftp:testsftp@localhost" "lcd C:\Destination" "get *.* "

    Is there any other...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: How to fix the merged result, thanks.

    Just shoot in the air...

    Are you trying to do FULL OUTER JOIN ? :

    select CurRank = row_number() OVER (ORDER BY cr.CurScore desc)

    , cr.group_name,cr.CurScore

    ...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: How to fix the merged result, thanks.

    Could you please post DDL and sample data (insert script) for your issue.

    Also, could you please specify what exactly wrong with current "results" and what your real expected results are...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Is there a better way to query a hierarchy table?

    There are always better ways...

    You should read this:

    http://www.sqlservercentral.com/articles/Hierarchy/94040/

    and

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

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: Winscp to get only current days files

    It has nothing to with T-SQL.

    You need to build the file name you want using whatever script language you are using.

    If for any razy reason you doing it...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • RE: ID or Id

    ... I think the upper case ID in ProductID makes is stand out a bit more when reading it.

    To really stand out it should be named as:

    pRODUCTiD

    or even:

    p-R-o-D-u-C-t_i-D

    it fill...

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

Viewing 15 posts - 16 through 30 (of 2,894 total)