Forum Replies Created

Viewing 15 posts - 91 through 105 (of 231 total)

  • RE: One trigger on all tables in dbase?

    I believe the next version of SQL Server (Yukon) will have system level triggers. In the meantime, you might consider a third party tool by Lumigent called Entegra to see...

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: What would cause processor (sqlservr.exe) to peak 99%

    Make sure you have the latest service pack, at least SP3

     

    select serverproperty('productlevel')

     

    This will ensure you are not experiencing the slammer virus.

    HTH

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: SQL Date Problem

    To stop table scans and use your indexes don't do this:

     

    Where LastDATE = cast(year(getdate()) as varchar(4))+'/'+cast(Month(getdate()) as varchar(2))+'/'+cast(Day(getdate()) as varchar(2))

     

    A bunch of better ways to do it, one way would...

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: A multi part question re cloning and restoring a database

    In addition to Chris's comments, this page may help - http://support.microsoft.com/default.aspx?scid=kb;en-us;246133

    HTH

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: Tools for users to browse Cubes?

    I've used ProClarity which is very nice for management types that insist on "graphical" and "pretty" reports. MS Excel pivot tables are good for the CPA types used to using...

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: DBCC Reindex - Issues with trans log growth

    This is a script snagged from SQL Server MVP Andrew Kelly, it keeps the log from getting full while going through reindexing alll your tables:

     

    SET NOCOUNT ON

    DECLARE @TableName VARCHAR(100), @Counter...

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: audit trail

    Here's one URL that will get you started,

    http://www.microsoft.com/sql/yukon/productinfo/

    Ray Higdon MCSE, MCDBA, CCNA

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: audit trail

    Yep, if you didn't know Yukon is the next version of SQL Server due to be released end of 2004, if you can wait that long you can have what...

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: How to select distinct month- year order by month-

    Ah, didn't catch what you meant, well, without displaying that proddate, one way you could do this is to use a temp table:

    create table tblmytable (productiondate datetime)

    insert into tblmytable

    select '2003-07-01'...

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: audit trail

    I believe Yukon will allow you to create system or server level triggers which would do what you need, Entegra,which Jonathan mentioned will do this now.

    HTH

    Ray Higdon MCSE, MCDBA, CCNA

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: Which Index Is Beter as Clustered ?

    To add to what Allen said, if you are having mostly inserts having the clustered index on a sequential column can give you a hot spot for inserts and help...

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: How to select distinct month- year order by month-

    How about:

    select datename(month,productiondate)+'-'+ datename(year,productiondate)

    from tblmytable

    group by datename(month,productiondate)+'-'+ datename(year,productiondate)

    HTH

    Ray Higdon MCSE, MCDBA, CCNA

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: SQL Mail

    You might look into xpsmtp, it's a popular alternative developed by a guy that was on the development team for SQL Server agent.

    http://sqldev.net/xp/xpsmtp.htm

    HTH

    Ray Higdon MCSE, MCDBA, CCNA

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: Get better Performance for Querys in SQL

    Like Frank said, without DDL and DML, ANYTHING anyone says is a shot in the dark. You may get some best practices trivia but to get actual help for your...

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

    Ray Higdon MCSE, MCDBA, CCNA

  • RE: Triggers causing deadlocks

    It's probably non-optimal code in the trigger, you might want to post the trigger code for suggestions.

    Ray Higdon MCSE, MCDBA, CCNA

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

    Ray Higdon MCSE, MCDBA, CCNA

Viewing 15 posts - 91 through 105 (of 231 total)