Forum Replies Created

Viewing 15 posts - 2,266 through 2,280 (of 2,894 total)

  • RE: Performance implications of using [DBName]..[Tablename]

    Ninja's_RGR'us (8/10/2011)


    Eugene Elutin (8/10/2011)


    Ninja's_RGR'us (8/10/2011)


    ... but I wouldn't spend 1 year refactoring an app without more proof of the benefit...

    seriously, as a contractor, in a such economy hardtime, I definitely...

    _____________________________________________
    "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: SQL Server 2008 Uniqueidentifier as Primary Key

    CELKO (8/10/2011)


    Please read any book on RDBMS. ANY BOOK! A key is by definition a subset of attributes that are unique in every instance of an entity of some particular...

    _____________________________________________
    "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 sql query

    I knew from start that you would get JC response on this one:-D

    Actually, I wanted to post similar reply, just in shorter words...

    It's quite unusual to ask SQL to return...

    _____________________________________________
    "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: Combining two sets from same table into one set and being able to pull from new set.

    thompson 44810 (8/10/2011)


    ...

    Our quandary is can a temp variable be created and can that be used to pull data from?

    We are trying to do this without creating a separate table.

    ...

    AND

    thompson...

    _____________________________________________
    "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: SQL Server 2008 Uniqueidentifier as Primary Key

    CELKO (8/10/2011)


    ...

    I have written tens of thousands of words on this in my books

    ...

    Writing thousands words has nothing to do with being right. There are a lot of fat books...

    _____________________________________________
    "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: Combining two sets from same table into one set and being able to pull from new set.

    thompson 44810 (8/10/2011)


    ...

    So my question is can a temp variable or temp table be used to pull data from and if so how.

    Ough, that is what you are asking, 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: T-SQL Question

    I bet that you have misuderstood the client requirements.

    Or misrepresented them in your post:

    Most likely they want standard fixed-length extract, which means that every field will be of 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: Combining two sets from same table into one set and being able to pull from new set.

    Yeah, this post looks like the old puzzle to me:

    "There were two crocodiles flying. One to the south but another one was of blue colour. Question: How many chairs in...

    _____________________________________________
    "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: speed up and lean up my SQL Statement that will be come a view

    If it's going to be used for reporting, I would consider to place this one into stored procedure where you could use temp tables for intermidiate values/sets.

    Your query doesn't 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: Performance implications of using [DBName]..[Tablename]

    Ninja's_RGR'us (8/10/2011)


    ... but I wouldn't spend 1 year refactoring an app without more proof of the benefit...

    seriously, as a contractor, in a such economy hardtime, I definitely would 😀

    And if...

    _____________________________________________
    "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: Performance implications of using [DBName]..[Tablename]

    In our nanoworld, nanoseconds are precious 😀

    Couple relevant links:

    http://technet.microsoft.com/en-gb/library/cc966420.aspx

    and

    http://www.sqlservercentral.com/articles/Administration/procedurecache/591/

    In the last one you will also find why naming stored procedures with sp_ prefix is not good idea...

    _____________________________________________
    "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: Performance implications of using [DBName]..[Tablename]

    Jayanth_Kurup (8/10/2011)


    Eugene Elutin (8/10/2011)


    Jayanth_Kurup (8/10/2011)


    ...

    I read somewhere if the schema name is not provided usually it searches all sys and dbo schemas before looking for any user defined schema objects.

    It's...

    _____________________________________________
    "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: Performance implications of using [DBName]..[Tablename]

    Jayanth_Kurup (8/10/2011)


    ...

    I read somewhere if the schema name is not provided usually it searches all sys and dbo schemas before looking for any user defined schema objects.

    It's not exactly right:...

    _____________________________________________
    "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: SQL Server 2008 Uniqueidentifier as Primary Key

    maruthipuligandla (8/9/2011)


    ...

    the reason why i used uniqueidentifiers was, when we need to insert one unique value into 2 tables at the same time we can make sure the same values...

    _____________________________________________
    "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: unpivot help

    Next time, please provide ddl and sample data insert script as part of your question (see the link at the bottom of my signature how to do so)

    SQL UNPIVOT has...

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