Forum Replies Created

Viewing 15 posts - 5,371 through 5,385 (of 6,486 total)

  • RE: Minimum (Approx) & Maximum (Approx) Salary in Google

    In my neck of the woods they're known for creating large campuses with perks that "go into the compensation package": on-site doctor/dentist/dietitian, free cafeterias, entertainment centers/gyms, etc... all on the...

  • RE: Index Tuning

    If it's to speed up a WHERE clause, then order of the columns in the index should be from most slective to least selective. The optimizer should be smart...

  • RE: Shy Site Promoter

    That's awesome...Good for you! It just took them a while to figure out what we all knew for some time...

  • RE: incrementing timestamp

    on the other hand - if you're actually talking about a datetime field (i.e. a "date" field, not a timestamp field), then simply using something like

    ...dateadd(ms,3,mydatefield)...

    will add 3 ms to...

  • RE: incrementing timestamp

    with SQLBill's objection that timestamps have nothing to do with date or time anything in mind - SQL 2005 has a built-in function to return sequential timestamps in the default...

  • RE: Formatting numeric value of calculated column in View

    that usually means you don't have enough slots in from of the decimal point to cover everything. Try casting to decimal(10,3)

  • RE: Eliminating duplicate rows

    L_voren (1/4/2008)


    I'm sorry I must have misunderstood something here. If there are a max of 2 rows per group why would the delete need to be run more than once?

    If...

  • RE: Eliminating duplicate rows

    Considering you're throwing all of the fields in - the performance will likely suck pretty badly on this one.

    L_voren's solution will get rid of one dupe per group, so you'd...

  • RE: How do you rename a table using t-sql

    there's a system stored procedure that does that, call sp_rename

    As I recall - syntax is

    sp_rename @objname='oldname' @newname='newname'

  • RE: Upsizing from Access 2003 to SQL Express 2005

    There are also several occasions where data types are slightly different and would cause things to fail. date fields in particular.

    If the migration assistant Perry pointed out doesn't help...

  • RE: Isnull function

    GilaMonster (1/4/2008)


    Koji Matsumura (1/4/2008)[hr

    Thank you Gail for the info.

    I guess I was somehow confused with char VS varchar datatype.

    Yeah. The varxxx datatypes have 2 bytes extra to store the data...

  • RE: Windows (only) clustering and SQL 2000

    While you might be able to get it to work, I'm fairly confident that will NOT be supported...ever. MS tends to whine if your hardware isn't EXACTLY the same...

  • RE: Select records between a date range

    Don't convert your dates to string - convert your strings to dates. As of right now you're comparing string values (where '02/01/2007' >'01/28/2008').

    you want:

    SELECT * FROM [MyDateTable]

    WHERE StartDate

    BETWEEN cast('02/01/2007'...

  • RE: Create clustered or non-clustered index on large table ( SQL Server 7 )

    Considering that a clustered index will dictate the physical order in which data is stored in the table, creating a clustered index will likely take a while with 10 Million...

  • RE: To Generate More than One Billion Numbers on the fly

    You're right, but it's a database with plenty of space and lots of trans log space in simple recovery mode (as in 5GB free in the data are and 4GB...

Viewing 15 posts - 5,371 through 5,385 (of 6,486 total)