Forum Replies Created

Viewing 15 posts - 8,836 through 8,850 (of 18,926 total)

  • RE: Moving Indexes

    Awesome job Tom.

    I however have a suggestion for all those articles with 15 different code snippets. Could you include a download link where we can get the whole thing...

  • RE: Updating more than one rows at a time

    Perry Whittle (9/8/2008)


    where exists

    would be more efficient than

    where in

    Are you sure about that one? Like I tested it and in this case exists is faster than in?

  • RE: Integer or String data type for primary key

    That looks like an order system.

    What I did in mine that really improved performance was to create the PK as an int, but I also kept the order id as...

  • RE: Type lengths

    Reread the question's explaination.

    The first parameter in the isnull function determines what data type will be returned. Since one of the column is varchar(1), then when that column is...

  • RE: Getting started writing SQL 05 views

    check out the sum and count functions on books online (sql sever's help files).

    SELECT COUNT(*) AS Total FROM dbo.TableName

    SELECT SUM(Amount) AS GrandTotal FROM dbo.TableName

    You might also want to check out...

  • RE: Getting started writing SQL 05 views

    Books online is a great place to start... but not knowing the types of calculations you want to do, I can't really point you in the right direction.

    What do you...

  • RE: "For each table in database......"

    Create table states...

    Insert into dbo.states (Columns list) values ('whatever needs to be here')

    Create master table

    Insert into master table (Select Columns List, ForeignKey From States from table1)

    ...

    Insert into master table (Select...

  • RE: "For each table in database......"

    One last thing to consider... what will you do when someone asks you to write a report that picks a subset of the data in any of the states (determined...

  • RE: "For each table in database......"

    There's only 1 answer to that problem. Test both solutions, see which one performs the best, them implement that one.

    Like I said 500 000 records is not a lot...

  • RE: Temp Jr DBA job available in Northeast Florida

    I sent an e-mail too, but got no replies as well.

  • RE: "For each table in database......"

    P.S.

    I wouldn't want to be stuck either at picking a town from a list of 10 000 names in a combo or listbox. I think you'd be better of...

  • RE: "For each table in database......"

    With propper indexing 500 000 records is nothing to sweat at.

    I have a report that pulls that from 400 000 rows and the 400 pages report is made in less...

  • RE: Weird - Procedure expects parameter which was not supplied

    I've also seen this error where there's a mismatch in the datatypes.

  • RE: Patindex

    Hey Jeff I found the problem with the test machine... it's just crappy.

    I reran the test with 10 000 rows (100 times less data), and it still ran only...

  • RE: Developers' access to dev SQL Server

    Some of us have lifes outside of SQL Jeff, maybe he went to bed :hehe:.

Viewing 15 posts - 8,836 through 8,850 (of 18,926 total)