Forum Replies Created

Viewing 15 posts - 196 through 210 (of 307 total)

  • RE: Data and log file names

    Script solving your sp_helpfile issue..

    DECLARE @db varchar(1024)

    DECLARE @statement varchar(1024)

    CREATE TABLE helpfile

    (

    name varchar(22),

    fileid int,

    filename varchar(4000),

    filegroup nvarchar(100),

    size varchar(15),

    maxsize varchar(100),

    growth varchar(15),

    usage varchar(200) )

    DECLARE db CURSOR FOR

    SELECT name FROM master..sysdatabases

    OPEN db

    FETCH NEXT FROM...

    "-=Still Learning=-"

    Lester Policarpio

  • RE: Configuration

    Got this script from one of the topics here in sqlservercentral

    select

    name as [DB_NAME]

    , isnull(case when status & 1 = 1 then 'autoclose' else null end + ',', '')

    + isnull(case...

    "-=Still Learning=-"

    Lester Policarpio

  • RE: xp_cmdshell

    Thank you very much....

    "-=Still Learning=-"

    Lester Policarpio

  • RE: User Migration

    Thanks for the compliment 🙂

    "-=Still Learning=-"

    Lester Policarpio

  • RE: Log Shipping Scenario

    Thanks Steve good point 🙂

    "-=Still Learning=-"

    Lester Policarpio

  • RE: User Migration

    If you want to script out users from production database to your stand by database hope this script of mine can help you. Just run this script to your production...

    "-=Still Learning=-"

    Lester Policarpio

  • RE: COPY TABLE FROM ONE DATABASE TO ANOTHER USING SQL SERVER 2000

    Thanks for the correction James like i said in my first post this scripts has limitations hmm just revised it to add the recreation of index can someone check this...

    "-=Still Learning=-"

    Lester Policarpio

  • RE: COPY TABLE FROM ONE DATABASE TO ANOTHER USING SQL SERVER 2000

    dhara is right you can use DTS for transferring tables but if you want to use a script there are some that can provide you what you want just like...

    "-=Still Learning=-"

    Lester Policarpio

  • RE: Log Shipping - Transaction Undo File

    Thank you very much very well said....

    "-=Still Learning=-"

    Lester Policarpio

  • RE: Log Shipping - Transaction Undo File

    Wow very informative thanks..

    Some clarifications..

    1. In cases where in production server fails and i can make a last tlog backup from it you are saying that i must apply first...

    "-=Still Learning=-"

    Lester Policarpio

  • RE: Replication Error

    First of all thanks for the link that you gave me ill browse to see if there are informations in there regarding my problem. As to our connectivity yes its...

    "-=Still Learning=-"

    Lester Policarpio

  • RE: can I Shrink the database?

    How big is your data and transaction log file?? i think you can truncate then shrink your transaction log but truncating and shrinking the data is not recommended. If you...

    "-=Still Learning=-"

    Lester Policarpio

  • RE: Replication Error

    The publisher has a table called holiday table which is the list of declared national holiday and it must be sync with the branch databases (Bank). I used snapshot replication...

    "-=Still Learning=-"

    Lester Policarpio

  • RE: Truncate Log

    I think sql 7 and 2000 is the same when it comes to truncate and shrink. Just be informed that in most cases database didn't shrink or truncate because it...

    "-=Still Learning=-"

    Lester Policarpio

  • RE: Applying SP4 on a SP3a server.

    Another question... I thought SP4 is an updated version of SP3 (correct me if im wrong) so if i applied SP4 in a SP3 database its like applying additional features...

    "-=Still Learning=-"

    Lester Policarpio

Viewing 15 posts - 196 through 210 (of 307 total)