Forum Replies Created

Viewing 15 posts - 1,381 through 1,395 (of 2,894 total)

  • RE: Intresting Query

    ...

    What you say is true, of course we could hope that the front end would take care of such cleansing issues.

    ...

    If cleansing is done in front-end, it would be better...

    _____________________________________________
    "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: Intresting Query

    If take it a bit more serious, you better to be careful...

    The given definition of the table has Column(varchar(20). Is any guarantee that the values there will contain only...

    _____________________________________________
    "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: Precedence of operator in SQL

    SQL does exactly what should be done in mathematics:

    5 - 2 + 3 = 5 + (-2) + 3

    Now you can see that it's absolutely doesn't mater 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: Intresting Query

    And if the BIGINT is not big enough for you, use DECIMAL(38)

    It can handle numbers upto:

    99,999,999,999,999,999,999,999,999,999,999,999,999

    🙂

    _____________________________________________
    "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: Escape in sql server 2000

    This one should work in SQL, you may have something else wrong in the query. Try to clear everything before and after your statement...

    _____________________________________________
    "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: convert number into words

    Jeff Moden (7/4/2012)


    craig-962225 (7/4/2012)


    I don't have access to the function right now but will try to post it later... When I say simple I really mean the call is simple....

    _____________________________________________
    "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 it safe to use SET ROWCOUNT?

    Also to note from MS:

    Using SET ROWCOUNT will not affect DELETE, INSERT, and UPDATE statements in the next release of SQL Server. Avoid using SET ROWCOUNT with DELETE, INSERT, and...

    _____________________________________________
    "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: convert number into words

    ... Doing it with raw native SQL provides the maximum portability.

    Agree, but that is impossible with "raw native SQL" at the moment as there is no such "raw native" in-build...

    _____________________________________________
    "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: convert number into words

    I would suggest creating and using CLR function. The base for it you can find here:

    http://www.c-sharpcorner.com/uploadfile/b942f9/converting-numbers-to-words-in-C-Sharp/

    You can enhance it to support any numbering style. Also, it's possible to reuse ...

    _____________________________________________
    "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: convert number into words

    ... As a result of this approach we were able to convert an 12 large client server style systems....

    Large? May be. But definitely not an international ones. Otherwise you would...

    _____________________________________________
    "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: Retrieving unique objects with common attributes.

    From that:

    Kaptnik (7/3/2012)


    ... Each student can have up to 2 favorite subjects...

    and that:

    ...need a query, where I pass on a list of Subjects, and the minimum number of students...

    _____________________________________________
    "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: Finding and replacing the exact value in TSQL

    Another version will work for any DBName and any combination of object name parts used:

    CREATE FUNCTION dbo.f_DBRenameX ( @OrigString VARCHAR(100)

    ...

    _____________________________________________
    "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: Finding and replacing the exact value in TSQL

    What about this one:

    CREATE FUNCTION dbo.f_DBRename ( @OrigString VARCHAR(100)

    ...

    _____________________________________________
    "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: Finding and replacing the exact value in TSQL

    SELECT REPLACE('Newdb.[DBName].dbo.TableName','DBName','ReplacedDBName')

    Or it's something else you are after?

    _____________________________________________
    "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: ANSI JOIN VS Microsoft join

    ANSI-92

    _____________________________________________
    "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 - 1,381 through 1,395 (of 2,894 total)