Forum Replies Created

Viewing 15 posts - 826 through 840 (of 1,409 total)

  • RE: running command line in DTS package

    What have you tried so far? What are the errors you encountered?

    I think if you add a "Execute Process Task" to your package, you should be able to get it....

  • RE: Log LDF file

    But remember: the LOG backups are primarily for recovering lost data. It is not intended to do auditing. There are other features and tools to do auditing.

  • RE: Log LDF file

    OnlyOneRJ (8/16/2013)


    Will APEX SQL ttol help me to read Log files which are backed up every 3 hours..

    I don't have any experience with their tool, I just googled a bit...

  • RE: Database Properties Data and Log initial and Auto growth help!!!!

    OnlyOneRJ (8/16/2013)


    If Database size is around 20 GB

    and Backup taken once a day and Log backup every 3 hours then what can be set??

    There is too little information. Like I...

  • RE: Database Properties Data and Log initial and Auto growth help!!!!

    It depends... It al boils down to good capacity planning and disksize monitoring.

    Aks the business/developers for the expected growth of the database. Set the initial size to the expected size...

  • RE: SQL Cluster Migration

    To shorten the cut-over time, you should create full backups (at least of the greater databases) and restore these on the new instance with norecovery. If you do this the...

  • RE: Put 4 tables in 1 table.. HOW to do that?

    Jeff Moden (8/15/2013)

    I would hope not. There's no join criteria in the FROM clauses causing HUGE 4 way Cartesian Products.

    Thank for pointing that out. I was so focused on...

  • RE: Put 4 tables in 1 table.. HOW to do that?

    Does this statement work?

    CREATE VIEW v_WhatsUp_Assyst

    AS

    SELECT nDeviceID

    , nDefaultNetworkInterfaceID

    , item_id

    , item_keya COLLATE Latin1_General_CI_AS as 'item_keya'

    , nDeviceGroupID

    , sGroupName COLLATE Latin1_General_CI_AS as 'sGroupName'

    , nDefaultNetworkInterfaceID

    , sNetworkName COLLATE Latin1_General_CI_AS as 'sNetworkName'

    FROM WhatsUp_Assyst_replicatie.dbo.device

    , WhatsUp_Assyst_replicatie.dbo.item

    , WhatsUp_Assyst_replicatie.dbo.DeviceGroup

    , WhatsUp_Assyst_replicatie.dbo.NetworkInterface

    UNION...

  • RE: Is there a way?

    SQL Surfer '66 (8/15/2013)


    Instead of clicking OK to start the back up, click in the Script button on the top. This generates a script in a new query windows...

  • RE: Put 4 tables in 1 table.. HOW to do that?

    Sorry, I was too much copying...

    Remove the COLLATE commands from all ID fields. Only leave the COLLATE commands on the VARCHAR fields.

  • RE: How can I change a user created without login to a user with login

    Make sure that all SQL related services are stopped. This also includes the SQL Browser and possibly a third party backup application. Also make sure that no applications connect to...

  • RE: Getting error when running a SQL agent job from stored proc.. Help needed

    Make sure the job_id in the select correspondents with the job_name in the start command. That's a mistake I have made in the past 😉

  • RE: Put 4 tables in 1 table.. HOW to do that?

    CREATE VIEW v_WhatsUp_Assyst

    AS

    SELECT nDeviceID COLLATE Latin1_General_CI_AS

    , nDefaultNetworkInterfaceID COLLATE Latin1_General_CI_AS

    , item_id COLLATE Latin1_General_CI_AS

    , item_keya COLLATE Latin1_General_CI_AS

    , nDeviceGroupID COLLATE Latin1_General_CI_AS

    , sGroupName COLLATE Latin1_General_CI_AS

    , nDefaultNetworkInterfaceID COLLATE Latin1_General_CI_AS

    , sNetworkName COLLATE Latin1_General_CI_AS

    FROM WhatsUp_Assyst_replicatie.dbo.device

    , WhatsUp_Assyst_replicatie.dbo.item

    , WhatsUp_Assyst_replicatie.dbo.DeviceGroup

    ,...

  • RE: Incorrect paths used when moving datafiles

    After you noticed that the database couldn't come online and it was due to a mistype, you could just execute another ALTER DATABASE command with the correct filepath. That would...

Viewing 15 posts - 826 through 840 (of 1,409 total)