Forum Replies Created

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

  • RE: Reindexing Tables used in Log Shipping

    If you run the optimizations more often the should less load to have to ship across.



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: read statements

    This should log all activity while profiler is running. Make sure you are starting the profiler trace and then running the actions in your application.



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: read statements

    On the sql server in program files > sql server there is a program called profiler. This will show all incoming commands.



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: create single quotes around @variable

    select @sql='''SELECT * FROM M_Driemnd('+convert(varchar(255),@p_number)+')'''



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: SQL 2005 master.6, model.6 etc files in Windows\Temp folder

    Does your backup window start at 9pm by any chance?

    Are you using native SQL backups or a third party tool like litespeed?



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: DTS

    Create a DTS package which just transfers the data directly from table to table.



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: date time question

    I would say put a trigger on the table to check if there are any appointments within 15 mins of the proposed new appointment.



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: How can I group these codes and total them?

    Could you explain a bit more about the data. Ie what data is available and what result you want?



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: Execute sql task using dynamic query.

    try putting you query into a sql nvarchar variable and using exec sp_executesql @cmd



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: How to make a job executing recursive SQL?

    Sorry missed the last couple of posts.



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: How to make a job executing recursive SQL?

    Try this

    DECLARE @CMD NVARCHAR(500)

    DECLARE STREXEC CURSOR FOR

    select

    'alter database [' + sd.name + '] modify file (name=N''' + sm.name+''', filegrowth = 100MB)'

    from sys.master_files sm

    join sys.databases sd on sd.database_id=sm.database_id

    where is_percent_growth=1...



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: Using Identity fields For the First time

    How about a backup then restore?



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: Executing batches asychronously?

    Arun,

    Has this helped?



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: Executing batches asychronously?

    The syntax for sp_add_job has a parameter called @delete_level. If you use this you can set the job to delete itself on completion (wether it is successful or not).

    You will...



    Nuke the site from orbit, its the only way to be sure... :w00t:

  • RE: Rearrange Identity values

    Drop the ID field and create it again.



    Nuke the site from orbit, its the only way to be sure... :w00t:

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