Forum Replies Created

Viewing 15 posts - 1,036 through 1,050 (of 2,894 total)

  • RE: Re-entered : Searching Columns for Seperate Strings

    Sorry mate, your sample is very obscure to me and I don't have my Crystal Ball with me today to see what you can see on your site.

    Your sample doesn't...

    _____________________________________________
    "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: Re-entered : Searching Columns for Seperate Strings

    More than happy to help if you follow this:

    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    _____________________________________________
    "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: Dynamic Query in sql

    Yes it is possible.

    _____________________________________________
    "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: STATISTICS IO/TIME

    The first thing I would like to advise you when you are gathering statistics in such way is to clean cache before each execution using following command:

    DBCC FREEPROCCACHE

    Now about...

    _____________________________________________
    "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 - incorrect syntax near '4'

    can you post the code where you set your CommandText in application?

    It is an application issue actually, not SQL one.

    Somewhere, instead of stored proc name you use variable with value...

    _____________________________________________
    "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: Built-in function date range

    shalinder.verma (10/17/2012)


    Eugene,

    Thanks for all the hard work.

    First of all, I was comparing the "on the fly tally table" SQL with "Recursive CTE" SQL. Therefore, my phrase "more efficient" should...

    _____________________________________________
    "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: Built-in function date range

    shalinder.verma (10/17/2012)


    Eugene Elutin (10/17/2012)


    shalinder.verma (10/17/2012)


    If you are familiar with recursive CTE, you can use following SQL. You won't have to refer to any tables. Moreover this is much more efficient....

    _____________________________________________
    "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 - incorrect syntax near '4'

    ssurekha2000 (10/17/2012)


    checked the sp with jst return stmt

    also checked it with simple select stmt without parameters

    checkedd connection string

    but still when executed frm application gives the same error

    Have you checked...

    _____________________________________________
    "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: Built-in function date range

    shalinder.verma (10/17/2012)


    If you are familiar with recursive CTE, you can use following SQL. You won't have to refer to any tables. Moreover this is much more efficient. Try it.

    ...

    Any proves...

    _____________________________________________
    "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: If anyone can help i am the most happiest person in world

    May be the post should read like:

    Have I table like a:.... ?

    :hehe:

    Actually the question is in the post title:

    If anyone can help? ...

    The answer is: Yes, definitely someone 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: Large Structure of a table

    Yes! Partitioning is exactly what you should use. This exactly feature made SQL Server to be one of RDBMS's for Enterprise Size solutions.

    I would start from here:

    http://msdn.microsoft.com/en-us/library/ms188232(v=sql.105).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: Avg count of cases per day

    ...

    Here's a typical result;

    == iTVF calendar function =========

    SQL Server Execution Times:

    CPU time = 0 ms, elapsed time = 3 ms.

    ===================================

    == calendar table =================

    SQL Server...

    _____________________________________________
    "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 add data to two table

    santoshupadhayay87 (10/16/2012)


    sorry everyone i mean the coloumn and not table

    That is much much more clear. 😉

    Now it's kind of:

    Go to somewhere, but not there, and I still don't know where....

    _____________________________________________
    "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 add data to two table

    santoshupadhayay87 (10/16/2012)


    i want to add three table to the datbase out of which two are from one table and one is of another table can anyone please help me...

    _____________________________________________
    "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: Built-in function date range

    There is no in-build "function" to do so, but you can write your own TVF function based on the following:

    DECLARE @StartDate DATE = '29 October 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]

Viewing 15 posts - 1,036 through 1,050 (of 2,894 total)