Viewing 15 posts - 976 through 990 (of 1,995 total)
While this is a great innovation, i can see it potentially causing more issues than it actually fixes...
if you've ever tried using an XL amazon instance to run a DB...
April 8, 2013 at 4:41 am
is auto shrink turned on ? is there a dbcc shrinkfile/shrinkdb command being issues?
September 14, 2012 at 8:04 am
yes all of them - originally i posted 6 servers, but it's actually 18.. the other 50 or so servers (all win 2008 datacentre with sql 2008 sp3) seem...
September 7, 2012 at 2:55 am
exactly!!!
what if you only needed to delete 1%... i was just wondering if there was any specific Windowing issue that you know of (like Jeff's stuff about recursive CTE)
September 6, 2012 at 8:56 am
Eugene Elutin (9/6/2012)
MVDBA (9/6/2012)
example 2 wont work -you'll end up with a table called demo1 not demo
Are you serious? :w00t:
It is just an EXAMPLE 🙂
So, I've named the table in...
September 6, 2012 at 8:20 am
Eugene Elutin (9/6/2012)
MVDBA (9/6/2012)
eugene... just out of interest... why avoid the windowing???Because using them may be slower then implementation without them...
hmmm.... yes, but also alternate solutions might use other resources...
September 6, 2012 at 8:18 am
Luis Cazares (9/6/2012)
You can change the name to #demo.
If you...
September 6, 2012 at 8:15 am
a couple of options then
.. is the field in the database a date or datetime field?
.. is your report passing dates in the wrong format ... easy to test...
September 6, 2012 at 7:58 am
example 2 wont work -you'll end up with a table called demo1 not demo
September 6, 2012 at 7:44 am
eugene... just out of interest... why avoid the windowing???
September 6, 2012 at 7:41 am
GilaMonster (9/6/2012)
Before you do anything else...It's not a space issue, it's a complete lack of log management.
+1 gail ---- READ THE ARTICLE
September 6, 2012 at 5:59 am
simple
2 options
shrink the log or get more disk space (possibly by moving the log or data files) - both of which need access to the server.
September 6, 2012 at 5:59 am
ok - you've switched back from sum to average now - so i've modified to do both
think about what you are grouping by ---- you've still got convert(varchar(20)....) in there...
September 6, 2012 at 5:56 am
sorry chap , that means the information you have posted is useless... if you don't have access to the server then how are you going to fix it anyway...
September 6, 2012 at 5:35 am
ok - so change your grouping and, order by and select to use
DATEPART(hh,mydatecolumn)
i'm sure you can then figure out how to display the date in the query
September 6, 2012 at 5:31 am
Viewing 15 posts - 976 through 990 (of 1,995 total)