Viewing 15 posts - 46 through 60 (of 310 total)
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...
March 19, 2007 at 2:43 am
Why is it wrong? Is it synchronizing to a time service somewhere? You don't want it changing back again !
March 14, 2007 at 5:16 am
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...
March 13, 2007 at 3:08 am
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,...
March 13, 2007 at 2:59 am
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...
March 13, 2007 at 2:55 am
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...
February 27, 2007 at 1:50 am
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...
February 26, 2007 at 7:48 am
[ 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...
February 26, 2007 at 1:59 am
No idea whether its a factor but @Tablename is Varchar and you're embedding it in an nVarChar string. Not sure what that does.
February 23, 2007 at 3:20 am
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...
February 20, 2007 at 1:34 am
... and another illustration of why dates should be stored as dates, not character strings !!!!
February 12, 2007 at 2:53 am
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...
January 4, 2007 at 4:09 am
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...
January 3, 2007 at 1:54 am
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. ...
December 22, 2006 at 7:39 am
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.
December 22, 2006 at 7:30 am
Viewing 15 posts - 46 through 60 (of 310 total)