Forum Replies Created

Viewing 15 posts - 45,136 through 45,150 (of 49,571 total)

  • RE: SQL Profanities

    ryan.leuty (8/12/2008)


    Is it better [faster, more reliable, more secure] to send a complex statement to SQL via the web app, or use a sproc?

    Faster, maybe. It depends. SQL caches execution...

  • RE: SQL Profanities

    riix (8/12/2008)


    why not add in diagrams and foreign key constraints? surely there's a perf penalty to consider when every fk is constantly yet needlessly checked by the dbms when...

  • RE: The Active DBA

    Grant Fritchey (8/12/2008)


    I can't come up on Saturday, but I can get there early on Sunday. If that fits the agenda, let me know.

    I may go through on the sunday,...

  • RE: Temp Tables usage and deadlocks in SQL Server 2000

    Jayakrishnan (8/12/2008)


    In complex stored procedures we are using one or two temp tables. It was working fine initially. But DBA suggested us to add the following lines in the SP...

  • RE: Debugger For SQL

    andrew gothard (8/12/2008)


    Well - usually in QA once it's written. Prototype in MS - then you get that sinking feeling when a colleague comes up to you baffled that...

  • RE: Which index will be used

    TheSQLGuru (8/12/2008)


    As long as you are doing seeks the extra index depth level that comes from larger average key size comes very infrequently thus the 1 page addition. It...

  • RE: Auto populate database with random data

    kiran (8/12/2008)


    can u provide me with download link for Data Dude (free version)

    Hehe. There is no free version. Visual Studio Team Edition is the highest level edition of Visual Studio....

  • RE: Views with parameters

    Views cannot take parameters. If you need a view-like object that takes parameters, consider using a table-values user-defined function. Be careful, sometimes they have a bad impact on performance.

  • RE: Need Backup

    Ok, a little more challenging, but not much so. Needs a subquery.

    SELECT Log_Transactions.assetno, Log_Transactions.pcdatetime, Log_Transactions.tline

    FROM Log_Transactions INNER JOIN

    (SELECT asstno, MAX(pcdatetime) AS LatestDate FROM Log_Transactions) MaxValues

    ON Log_Transactions.asstno = MaxValues.asstno AND...

  • RE: Need Backup

    You're getting repeated rows because you're grouping by the tline as well as the asset number. If you want to see the max tline for eachn asset number (which is...

  • RE: Truncation of database logs

    Adam Zacks (8/12/2008)


    Ummm well yes, I suppose... Depends what mood I'm in. Getting married next week with a 3.5 week holiday, so right now dont care about anything! 😉

    :hehe: Congratulations....

  • RE: Truncation of database logs

    andrew gothard (8/11/2008)


    Was thinking of this one

    http://sqlinthewild.co.za/index.php/2008/07/23/recovery-model-and-transaction-logs/

    Think we all know how often people seem to get parachuted into 'looking after the database(s)' and over the years I've seen a pretty...

  • RE: Why is my log truncating?

    Are you perhaps switching to simple recovery mode to do the index rebuilds?

  • RE: Deadlocks rate

    Switch traceflag 1204 or 1222 on (DBCC TRACEON (1222,-1)). That will write the deadlock graphs into the error log. With that you can see what is deadlocking and on what...

Viewing 15 posts - 45,136 through 45,150 (of 49,571 total)