Forum Replies Created

Viewing 15 posts - 1,531 through 1,545 (of 1,583 total)

  • RE: SQL Server Job Steps

    The question should have started with "In SQL Server 2005..." as Powershell is NOT an option in 2005.

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Need Records from strings

    You could try this:

    Usage:

    SELECT dbo.fx_SplitColumnText('rptclientrifvdistrictgrantstatuschangelog_MillmanR_9dfb3dfa-081b-48d1-8bbf-81361bbd9cb9', '_', 1)

    Returns:

    rptclientrifvdistrictgrantstatuschangelog

    TSQL:

    (You'll have to format this yourself)

    USE [F1Settings]

    GO

    /****** Object: UserDefinedFunction [dbo].[fx_SplitColumnText] Script Date: 03/23/2011 13:40:45 ******/

    SET ANSI_NULLS ON

    GO

    SET QUOTED_IDENTIFIER ON

    GO

    /*...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Monitoring Jobs

    Under the advanced tab in Job Step properties, can't you set the On Faiilure Action to "Go to the Next Step?" The last step of course needs to be...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Deleting a large amount of data from a table

    Oliii, the bcp process finally completed and here was the "running results"

    Current server - bcp for 20,547,681 records, 812.57 mins @422 rows/sec.

    I tested it on the new server I'm eventually...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Deleting a large amount of data from a table

    Thanks Brandie, but I didn't go with that method, I actually opted for bcp....like so:

    bcp " select * from dw_load.dbo.DW_Fleet_Load_Progress with(readuncommitted) where [pos-date] >= DATEADD(mm, -12, GETDATE()) " queryout...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Deleting a large amount of data from a table

    Yes, I wish I had honed in on using the /b flag before I ran this last night...now everything's running as one giant transaction and God on ly knows how...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Deleting a large amount of data from a table

    I ran out of space yesterday evening when all the rebuilding was running so it failed and went into a lovely 3 hour rollback process. When I first ran...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Deleting a large amount of data from a table

    "If you have enough space on another drive (or another server) do a bcp queryout (only the rows you need to keep), truncate your table and bcp in. No need...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Deleting a large amount of data from a table

    I have very little experience with partitioning...could you provide me with some good links on either instructional videos or good articles so I can learn about it more quickly?

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Deleting a large amount of data from a table

    Thanks for the tips! I have exceeded my maintenance window for tonight but will try this tomorrow afternoon once corporate reporting has finished for the day

    How about an actual...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Deleting a large amount of data from a table

    Oops, great questions...sorry I forgot to include more relevant information

    * How long is "FOREVER"?

    - 33 minutes to delete about 290,000 records (a long way to 13+ million)

    * Is...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: SQL 2008 Object Explorer Details information

    This appears to be the closest thing I can find:

    SELECT IndexName = name,

    IndexSizeMB = CEILING(1.0 * dpages / 128),

    ...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: How to identify backup files?

    Easiest thing is doing what Gail mentioned.

    I give Full Bkp's a .zip ext, Diff's .bak, Log's .trn, and don't use filegroup but am pretty certain any 3-char extension would work...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: How and when we need to rebuild indexes, reorganise indexes , defragindexes

    Maechismo_8514, I have a question about your comment "the pages would be loaded to the memory anyway"

    I typically REORG fragmented indexes that are > 50 pages or more because in...

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

  • RE: Transactional Replication failed after restoring full back up of database in NORECOVERY, then restoring DIFF backup in FULL RECOVERY - PLEASE HELP!

    Thanks again for all your help! Much appreciated it.

    ______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience

Viewing 15 posts - 1,531 through 1,545 (of 1,583 total)