Forum Replies Created

Viewing 15 posts - 46 through 60 (of 310 total)

  • RE: SP slows down to a crawl

    Also make sure statistics are up to date.  Were they on the same server?  In-memory temp tables should only be used for small amounts of data and can cause performance...

  • RE: Help: System Time is Wrong

    Why is it wrong?  Is it synchronizing to a time service somewhere?  You don't want it changing back again !

  • RE: Getting the Latest Distinct Records

    In this case, you just need to group by all the non-aggregated fields and can dispense with the inner query :

    SELECT da.MMS,da.Zip,MAX(da.TrackingDate) AS TrackingDate

      FROM DailyAccountsDownload_Tracking da

      GROUP BY da.MMS,da.Zip ORDER...

  • RE: Controlling activation of SPROCs

    Assume all SPs are owned by dbo.  You deny execute permissions to all users for those procedures you want to protect.  Only other dbo. procedures then can call them.

    More usually,...

  • RE: Linked Servers (sql2000) of Windows2000 to Windows2003

    I vaguely recall that there is an issue with cross-domain security authentication within Windows, ie it's a Windows issue rather than a SQL Server issue.  Sorry I can't be more...

  • RE: Use Red-Gate''''s backup... and Go to Jail???

    Brian, Steve has included the link to the source in his edited post at the top of this thread so its not being censored - he just removed it from...

  • RE: Application Roles

    Just a concern - quite possibly unfounded - just that I always like to minimise network traffic.  You've obviously come up with an effective workaround.  However, given the application, we feel...

  • RE: Application Roles

    [ I found sometimes just executing "SELECT USER_NAME()" would die with a "General network error" exception and close the connection ]

    I tried this and got the same problem.  I haven't...

  • RE: Pat on the back for who can help solve this debugging...

    No idea whether its a factor but @Tablename is Varchar and you're embedding it in an nVarChar string.  Not sure what that does.

  • RE: A New Query Language

    How many billions have Microsoft, Oracle and others spent on developing optimised relational database systems?  Why throw it all away in favour of a heavily padded flat file format?  It...

  • RE: Working around DATEDIFF when "date" = ''''00000000''''

    ... and another illustration of why dates should be stored as dates, not character strings !!!!

  • RE: Sp_executesql with Dynamic SQL string exceeding 4000

    Sometimes it's unavoidable but I try not to use dynamic SQL whenever I have a choice - especially if it's going to be that big !  What are you trying...

  • RE: entering pictures into a table

    My preference would be to keep them in the database - neater and no risk of broken links.  However, zip them up on the client side first (I have used...

  • RE: Retrieve data from temporary table with dynamic name?

    Remember that all tables, permanent, temporary or table variables are held in memory as much as space permits.  They (including table variables) are written to disc when memory space runs out. ...

  • RE: Retrieve data from temporary table with dynamic name?

    Quite right Vladan - my brain has shut down for Christmas.  I don't think I should be coding accounts posting today - probably bankrupt somebody!  Think I'll just go home.

     

Viewing 15 posts - 46 through 60 (of 310 total)