Forum Replies Created

Viewing 15 posts - 3,841 through 3,855 (of 9,241 total)

  • RE: Moving Large Table to Different File Group

    bobbums (12/9/2013)


    You do know that some of us are maintaining databases created by other people, right?

    Yes, as do I.

    bobbums (12/6/2013)


    Anyways, the following runs without any errors on SQL Server...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: how to see Windows server information

    although generally frowned upon, xp_cmdshell can get most info from the OS. Just ensure your script disables it again after calling it like so

    exec sp_configure 'show advanced options', '1'

    reconfigure

    exec...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moving a database log file when recovery model is Simple

    dan-572483 (12/6/2013)


    Then why would my simple recovery model databases not come online with copies of the original log files in the new location?

    The first thing you should have done is...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moving a database log file when recovery model is Simple

    dan-572483 (12/5/2013)


    Last night I needed to relocate some database log files to a drive with more space. When I attempted to bring the databses back online...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Restoring Master DB from a StandAlone server to a Cluster

    Denesh Naidoo (12/9/2013)


    Hi All,

    Currently we have a stand alone SQL Server 2008 R2 Ent server. We are planning to move this environment to a Cluster. Once the cluster is ready...the...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: not able to connect to server from different domain

    mandavli (12/8/2013)


    yes user I am trying does have login credential has rights to other domain server.

    The account has been added to sql server as a login?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Don't see any difference between READ_COMMITTED_SNAPSHOT AND ALLOW_SNAPSHOT_ISOLATION

    mssqlnoob (12/9/2013)


    frankly speaking I still could not differentiate between READ COMMITTED SNAPSHOT AND SNAPSHOT ISOLATION

    The main difference is that to use snapshot isolation the query must set the option

    SET TRANSACTION...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moving Large Table to Different File Group

    bobbums (12/6/2013)


    In the article, your suggestion is to drop the PK and then re-add it.

    This is correct as in this case the clustered index column is also the...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Uncluster Agent, set to automatic on each node in a 2 node failover cluster.

    what errors are you receiving when you try to start the agent?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: AlwaysOn AG for DR

    PHXHoward (12/6/2013)


    I wrote a long detailed reply but forgot to save to clipboard before hitting submit and it didn't go through. Oh well.

    Would have been interested to see that!

    PHXHoward...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: AlwaysOn AG for DR

    SQLSACT (12/6/2013)


    I would recommend that you put a file share witness in place

    I concur

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moving Large Table to Different File Group

    ChiragNS (10/16/2008)


    Would Create Index WITH Drop_Existing work for moving non-clustered indexes.

    Yes it does.

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moving Large Table to Different File Group

    ALTER TABLE [INVOICE]

    DROP CONSTRAINT [INVOICE_PK] WITH (MOVE TO SECONDERYDATA)

    After the move, we now recreate the PK Constraint:

    ALTER TABLE [INVOICE]

    ADD CONSTRAINT [INVOICE_PK] PRIMARY KEY CLUSTERED

    ( [column name] ASC

    )WITH (IGNORE_DUP_KEY...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Disk Capacities

    Drop the cursors and the calls to xp_fixeddrives and fsutil and use the following

    [Code]wmic volume get capacity, "free space", name[/code]

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Difference between Now() and Today()

    Junglee_George (12/5/2013)


    Hi

    Please explain the Difference between Now() and Today() functions in SSRS reports. Are they both same or different..??

    Note that these are not T-SQL date\time events they are visual studio...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

Viewing 15 posts - 3,841 through 3,855 (of 9,241 total)