Forum Replies Created

Viewing 15 posts - 61 through 75 (of 174 total)

  • RE: Correlated query

    SELECT cname,rating FROM customers

    WHERE rating= (SELECT MAX(RATING) FROM customers AS abc WHERE abc.`CCITY`=ccity )

    The default reference will be the local (sub)query. This means that your inner query (with the MAX)...

  • RE: how to update record in sql server

    UPDATE TABLE emp SET designation = REPLACE(designation, '(sales)', '(marketing)')

    WHERE designation like '%(sales)%';

  • RE: OS + ldf or mdf + ldf sharing on RAID?

    Seems there's no real issues then Scott since the majority of the databases are in SIMPLE anyways :hehe:

  • RE: OS + ldf or mdf + ldf sharing on RAID?

    Yeah the ";-)" signalled a joke 😛

    No reason to cause waves about it although they're throwing up like 50 of these servers that dont seem to do much & all...

  • RE: OS + ldf or mdf + ldf sharing on RAID?

    Elliot,

    The other week I found a database with no backups at all and the 1.7gb database had a 120gb log file because it was in full mode...remote storage is asking...

  • RE: SHOW OFF DAY

    I'm guessing it would actually be used in an OUTER JOIN like in the possible solution I gave~ from what he says the main table doesn't contain saturday/sunday records so...

  • RE: Maintenance plans

    How many backup files do you have per database? You're not appending to the same file are you?

    Is your File Extention "bak" instead of ".bak"? We use "bak" and the...

  • RE: Delete records without logging

    Wouldn't "generate less logging" be more accurate since the logging to re-apply the truncate will also be logged?

  • RE: Maintenance plans

    g_demetriou (6/17/2013)


    you might want to check that the SQL Agent user has access rights to the folder you are deleting from.

    Doesn't the "write" privilege on a folder affect both writing...

  • RE: CHECKDB issue

    Thanks for the link & help 🙂 The Windows team will raise a change to upgrade it.

    Although I'm a little disappointed about not being able to do my first...

  • RE: CHECKDB issue

    There is DiskKeeper on the server but I don't know if its classed as a "new" version since it's 2010? Apparently there's no encryption software.

    I'll ask the Windows team about...

  • RE: CHECKDB issue

    How would I know/check? sys.certificates returns 0 rows.

  • RE: CHECKDB issue

    Could the issue be that it's on 2005 standard edition? Apparently snapshots are only available from 2005 enterprise onwards?

  • RE: Maintenance plans

    Perhaps you've checked the box "Create a sub-directory for each database" but in the cleanup task you didn't tick "Include first-level subfolders"?

  • RE: Backup SQL 2008 Small DB-Need Profesional Help

    I sent my email in a PM but you can just reply to this thread again & I will receive email notifications anyways

Viewing 15 posts - 61 through 75 (of 174 total)