Forum Replies Created

Viewing 15 posts - 331 through 345 (of 608 total)

  • RE: SSMS - Databases are not Visible

    Minnu (7/11/2013)


    HOPE U UNDERSTAND BETTER NOW...

    Yes, I understand now.

    Your SSMS options allows you to open Object Explorer and a New Query at start-up. You probably have it set to open...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Red lines under third occurance of a table name

    bert.hooks (7/11/2013)


    Wow. Insults from an idiotic know-it-all.

    Pot --> kettle --> black.

    Excuse me for being defensive, but Microsoft products have been putting food on my table since 1996. I...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Filegroup

    kk.86manu (7/11/2013)


    Hi All,

    Please let me know whether it is possible to use the same secondary filegroup for 2 different databases.

    I tried manually and it did not allow.Just wanted to confirm...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Red lines under third occurance of a table name

    bert.hooks (7/10/2013)


    You are correct! Thank you. I took out the create table statement and the following alter statement and all of the red lines went away.

    It's no less...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: SSMS - Databases are not Visible

    Minnu (7/11/2013)


    On re-reading, I'm not sure that's what he's asking, anyway. Does he want to know how to have the folders automatically expanded when SSMS opens?

    John

    Yes John Exactly,

    I've all...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Deleted items still appears in output

    dwain.c (7/9/2013)


    Sean Lange (7/9/2013)


    I ran your query through a formatter to make it easier to read.

    You've got a SQL formatter? I'd like to hear about that!

    There's loads of them....

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: ORDER BY in a cursor

    Jason Shadonix (7/9/2013)


    Just because it is old doesn't mean some of us won't find it to be useful information.

    Glad the thread helped you, but it is not necessary to say...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Help me guys. CARRIER CONFUSION!! MS SQL or ORACLE

    JoNTSQLSrv (7/9/2013)


    My only confusion is : In Salary point view ORACLE OR MS SQL SERVER ?

    If salary is your number one priority then may I suggest getting into offshore drilling.

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Query plan changes over time, query performance severely impacted

    Both plans are timing out, but one in a second and one in 10 minutes.

    <QueryPlan DegreeOfParallelism="0" MemoryGrant="5968" CachedPlanSize="1632" CompileTime="659453" CompileCPU="649780" CompileMemory="715616">

    <QueryPlan DegreeOfParallelism="0" MemoryGrant="7296" CachedPlanSize="1720" CompileTime=" 1183" CompileCPU=" 1055"...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Autonumber field sometimes skips a 1000

    psingla (7/5/2013)


    does it always skips 1000 rows or any random number?

    SQL Server 2012 uses blocks of 1000 in a cache. When you restart the SQL Server service the next block...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Size of auto-created statistics objects in a database

    Hi,

    Stats are stored in a binary large object called a statsblob. These are very small, even with very large tables, and you will not find any performance gains by cleaning...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: General View Performance Question

    Davebhoy (7/4/2013)


    Here's the SQL which runs instantly but if I change @client to 'XX' then it takes 20 seconds.

    Please supply the actual execution plans for both.

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: CONVERT COLUMN VALUES TO COMMA SEPARATED ONE ROW VALUE..

    dwain.c (7/4/2013)


    Jeff Moden (7/4/2013)


    The other thing to worry about is that XML will entitize (change to a code sequence) certain characters if they are present.

    I don't suppose you'd...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: SQL Developer Edition Question

    You can use a DMV on your dev databases to check if Enterprise features are in use.

    SELECT * FROM sys.dm_db_persisted_sku_features

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Can you please help me??

    Code To Simulate OP's Table:

    CREATE TABLE customer (C_recid INT);

    INSERT INTO customer VALUES (50200),(50194),(50430),(50191),(1);

    Here is my solution:

    DECLARE @Lookup TABLE (C_recid INT, OrderSeq SMALLINT);

    INSERT INTO @Lookup VALUES (50200, 1), (50194, 2), (50430,...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

Viewing 15 posts - 331 through 345 (of 608 total)