Forum Replies Created

Viewing 15 posts - 946 through 960 (of 2,894 total)

  • RE: Generate unique invoice number-very CRITICAL application.

    bteraberry (11/9/2012)


    Eugene,

    I've never had any issue with you whatsoever, but you seem condescendingly rude about some things I don't think you understand. That's not the kind of conversation 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: replace null with text information

    Yep, ISNULL or COALESCE, but...

    In order to mix string "No Data" with numerics in the same columns, you will need to convert all of them into varchar. This sort of...

    _____________________________________________
    "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 with a "simple" XML example, please

    Given XML sample is a bit strange.

    Having <Payees> parent node kind of suggest that it may contain multiple <Payee> nodes, but <DueDates> are outside of <Payee>. So it does look...

    _____________________________________________
    "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 unique invoice number-very CRITICAL application.

    bteraberry (11/8/2012)


    Yes I did read it. Why CLR? Because it's awesome compiled code that will run very fast ... much faster than the equivalent in dynamic sql.

    It's really...

    _____________________________________________
    "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 unique invoice number-very CRITICAL application.

    bteraberry (11/8/2012)


    Eugene Elutin (11/6/2012)


    I don't think SEQUENCE feature will help you, as it's going to be a nightmare if you will create a sequence per customer... Also, you will be...

    _____________________________________________
    "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: Reg: Date Requirements

    DECLARE @Fromdate DATE = '01 Jan 2012'

    ,@Todate DATE = '30 Dec 2012'

    ...

    _____________________________________________
    "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: XQuery: Get the value only, and not the child node values

    DECLARE @xml XML =

    '<ROOT>

    <SPECIALNEEDS>

    INCLUDE

    <NEED>

    BLIND

    </NEED>

    <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: Query Help

    ..

    actually other columns in tables will be depend upon that.

    ...

    What does this mean?

    Is your database designed specifically for reporting, so you need to store formatted numeric Id's?

    How business can...

    _____________________________________________
    "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: Howto udpdate text using Replace html font in textfield

    andrea.mayo (11/8/2012)


    Could you please perhaps give a little more detail I am new to SQL

    You will need to develop this function in .NET (c# or vb.net).

    If you don't know...

    _____________________________________________
    "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: Howto udpdate text using Replace html font in textfield

    Your best friend here will be CLR function with RegEx.Replace.

    _____________________________________________
    "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 multiply rows in one table based on the value on another table

    I think that one could be slightly faster:

    select t1.id

    from @t1 t1

    inner join @t2 t2 on t2.Id = t1.Id and t2.X > 0

    cross apply (select top (t2.X) 1 from sys.columns) n(n)

    _____________________________________________
    "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: Group Values in TSQL

    google:

    T-SQL 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: To table or not to table spool (Just wondering which one is better)

    It was not easy to find the difference in the code "noodles" you have, I could not even copy it from browser to my SSMS as it's too wide at...

    _____________________________________________
    "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: substring/charindex

    If you need to split value in multiple rows (eg. in SELECT query), You better to use [DelimitedSplit8K] or some CLR splitter.

    For single value split (let say you pass 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: Query Help

    sanket kokane (11/7/2012)


    I'm testing on some part of the application .

    My Table structure is like

    create table test (id char (8))

    I want , whenever user insert value ,lets say 1

    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]

Viewing 15 posts - 946 through 960 (of 2,894 total)