Forum Replies Created

Viewing 15 posts - 331 through 345 (of 2,894 total)

  • RE: ORDER BY when inserting into table variable

    Luis Cazares (6/28/2013)


    Eugene Elutin (6/28/2013)


    We don't order INSERTS, we order SELECTS.

    Until we have identity and we want to populate it in a specific order...

    Or want to do a clustered insert...

    _____________________________________________
    "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 replace a value in Bracket with negative value in ssis

    SQL_Learning (6/28/2013)


    Hi,

    I have imported data into a database from an excel file and some of the columns contain values are like (392.03), (2.25),...

    _____________________________________________
    "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: ORDER BY when inserting into table variable

    We don't order INSERTS, we order SELECTS.

    Until we have identity and we want to populate it in a specific order...

    _____________________________________________
    "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: Full Text Search Index Problem

    suresh0534 (6/25/2013)


    Select * from candidates WHERE contains(c_resume_text,'"c++" or "houston" or "New York" or "Amsterdam"')

    I have passed nearly 550 cities to search condition.

    when i passed the 550 cities and run the...

    _____________________________________________
    "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 write query to show in desired table fomat

    you need to use FULL OUTER JOIN

    SELECT ISNULL(t1.name, t2.name) AS name

    ,t1.JANclient

    ,t2.FRBClient

    FROM ...

    _____________________________________________
    "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 convert binary file to text file in ssis or in SQL server.

    You cannot convert "any kind" of binary file into text file.

    Binary file may contain any type of data in any format.

    _____________________________________________
    "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 convert binary file to text file in ssis or in SQL server.

    What binary file?

    _____________________________________________
    "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: Generate a table with all possibilities.

    The best way to present such question would be with bigger example of required output.

    If I understood you correctly your final table should have 6 columns...

    So, may be that:

    ;WITH vals

    AS

    (

    SELECT...

    _____________________________________________
    "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: qry options

    Tara-1044200 (6/11/2013)


    I want to do this.

    select count(*) from

    (

    select col1,col2,......col18 from REVemployee.tbemp

    group by col1,col2,......col18 HAVING COUNT(*)>1

    )a

    is there a better way of doing the same for better proformance?

    Looks fine to...

    _____________________________________________
    "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: Rollback statement in T-SQL

    GilaMonster (6/11/2013)


    Eugene Elutin (6/11/2013)


    I will be very brave to disagree with Gail on this one. But...

    There are such thing as a "nested transaction" in MS SQL Server.

    There are no...

    _____________________________________________
    "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: Rollback statement in T-SQL

    I will be very brave to disagree with Gail on this one. But...

    There are such thing as a "nested transaction" in MS SQL Server. They just are not what...

    _____________________________________________
    "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: Data Cube / SQL Server 2012 / BI

    Do not need in dopuble posting!

    Your starting point might be here:

    http://msdn.microsoft.com/en-US/library/ms170208(v=sql.110).aspx

    _____________________________________________
    "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: Benefits in using a unique login for each user.

    Zeev Kazhdan (6/11/2013)


    Thanks for the ideas!

    In terms of auditing we thought as well that SQL is better, but the customer insists they do better auditing within their 4G application.

    Thanks...

    _____________________________________________
    "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: Case statement with subquery

    tshad (6/7/2013)


    I have a CASE statement with a subquery that works most of the time but if the subquery comes back with zero rows, I get a null and I...

    _____________________________________________
    "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: not able to understand that store procedure running recursively or not

    DataAroma (6/11/2013)


    create procedure testRecur()

    BEGIN

    if

    call testRecur();

    end if;

    select...

    _____________________________________________
    "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 - 331 through 345 (of 2,894 total)