Forum Replies Created

Viewing 15 posts - 5,371 through 5,385 (of 7,164 total)

  • RE: Estimate Table size

    DIB IN (7/26/2011)


    http://msdn.microsoft.com/en-us/library/ms189124%28v=SQL.90%29.aspx

    This above article defines to estimate table size based on table structure and number of estimated records for the table.

    While estimating a table size I found that...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Estimate Table size

    Jason, Lowell, note the OP said "estimate". Your solutions are geared towards already existing tables.

    DIB IN, please clarify what you're looking for.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: selecting dataset with row numbers

    Anytime. The drop in performance when removing a data type mismatch is odd. I cannot even venture a wag as to why that might have occur.

    It's not of much consequence...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Estimate Table size

    Please be more specific.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: LIKE pattern is not Case Sensitive on CS/AS unicode-Column

    Can you post the actual execution plans to the thread?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Grant Exec on sproc is not sufficient

    Lowell (7/25/2011)


    i think if the procedure is doing dynamic SQL, the owner chaining rears it's head as well right? and the user needs access to the underlying objects being manipulated...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Grant Exec on sproc is not sufficient

    Tess-205818 (7/25/2011)


    I ran the sp_help statements you indicated and got the following results:

    - The stored procedure Owner is dbo.

    - All the tables have the Owner as dbo.

    - The audit tables...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: LIKE pattern is not Case Sensitive on CS/AS unicode-Column

    mitch.fh (7/25/2011)


    WHERE name COLLATE Latin1_General_100_BIN LIKE N'[A-Z]%' ;

    Hi,

    COLLATE to BIN works fine.

    I guess it is not quite a performance-booster to change the collation while using LIKE.

    Are you saying...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: LIKE pattern is not Case Sensitive on CS/AS unicode-Column

    According to Books Online LIKE is implemented per the ISO standards when it comes to Unicode data:

    LIKE (Transact-SQL)

    It also says Collations can affect results. I think I found a workaround...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: selecting dataset with row numbers

    Jeff Moden (7/23/2011)


    Would you do me a favor then? Would you run my code example and post the results? I'm always curious as to what any given piece...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Faolover Trans replication

    Your questions are very general. Have a look at Books Online. It has all the information you need.

    Bidirectional Transactional Replication

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Display records only if they have multiple child records

    fsnell (7/23/2011)


    CELKO (7/23/2011)


    Basic Netiquette is to post DDL; read the section at the start of the Forum.

    What is DLL? Read what section at the start of Forum?...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: selecting dataset with row numbers

    Jeff, I think you may have finally ended the long run my old [default] habit was on once and for all 😉

    Thanks as always!

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: selecting dataset with row numbers

    Bah! SELECT INTO! 😀

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: selecting dataset with row numbers

    Not a problem Jeff. Here is how I got there:

    Build a Tally table to facilitate building of MyList with 400K rows:

    USE tempdb

    GO

    -----------------------------------------------------------------

    -- Build Tally table.

    -- Script credit: http://www.sqlservercentral.com/scripts/Advanced+SQL/62486/

    IF EXISTS...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 5,371 through 5,385 (of 7,164 total)