Forum Replies Created

Viewing 15 posts - 47,941 through 47,955 (of 59,064 total)

  • RE: Problem with Tsql script

    Heh... You're all destroying the ability to produce an automated data dictionary for a database and none of you even bat an eyelash at that. :blink: Sure, sure......

  • RE: Remove Duplicate Row

    Okidoki... first off, since you didn't provide any table creation scripts nor data population scripts, you have to understand that I've not tested this code. Please see the link...

  • RE: Cross Tab query

    vidhyasudha (10/3/2008)


    HI Luke,

    Sorry for all the inconvenience caused.

    Tab1 structure

    Create Table Tab1

    (

    name varchar(25),

    description varchar(25),

    Category varchar(25)

    )

    Sample data for Tab1

    insert into tab1 (name,description,category) values ( 'caneditacc','editing','Acc')

    insert into tab1 (name,description,category) values ('candeleteacc','deleting','Acc')

    insert...

  • RE: Converting varchar to datetime

    There are a lot of things that will qualify as a date that will fail the conversion using date format 103. For example, 0 is a valid date. ...

  • RE: Development environment data refresh

    I don't personnally know how to do it, but the folks at my old shop did it quite easily. Apparently, certain SANs come with the ability to make snapshot...

  • RE: Performance improvement with BULK INSERT

    Yep... I absolutely agree with Richard that batch size is important... trying to import 20 million rows will drive the log file absolutely nuts if you don't do the Bulk...

  • RE: IF condition

    It doesn't need to be that complicated if you understand that NULL is NOT nothing and cannot be compared to using relational operators...

    IF (SELECT somecolumn FROM sometable) > ' '

    PRINT...

  • RE: Avoiding Curosr - Yet Another Situation

    Heh... if you think THAT was fast, wait until you run the code. First time I demo'd it on a million rows in front of a group of people,...

  • RE: Query String passed to URL

    Jason Crider (10/3/2008)


    Third party wants that data sent to a URL in the form of a query string.

    So, create a chunk of code that will make a set of SELECT/UNION...

  • RE: Pull data from one Column for a report

    There's nothing there to relate state to county, etc, etc. Are the other columns in that table that might be used to do that?

  • RE: sp_dboption

    Don't do it that way... past the following URL into the URL box of Books Online and see...

    ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/8cfea566-8f89-4581-b30d-c53f1f2c79eb.htm

  • RE: Difference between SQLServer 2005 and SQLServer 7.0 Queries

    You can't rely on an "implicit" sort order... you'll need to use ORDER BY or GROUP BY WITH ROLLUP/CUBE.

  • RE: Best way to reindex large tables/indexes

    Yep... but with "VLDB's", hardware costs should be the least of your worries.

  • RE: Autogrowth - Best Pratice

    TheSQLGuru (10/3/2008)


    >>Think "compound interest".

    Think "read my post"! 😀

    The default data file growth is ONE MEGABYTE, not TEN PERCENT (at least on all the servers I recall installing)....

  • RE: Autogrowth - Best Pratice

    Actually, I was talking about SQL Server 2000 'cause I'm still stuck in that world for better or worse. I forgot this was a 2k5 forum.

    I just setup a...

Viewing 15 posts - 47,941 through 47,955 (of 59,064 total)