Viewing 15 posts - 40,996 through 41,010 (of 59,102 total)
Keep it simple...
WHERE Time_Date between ISNULL(@startdate,0) and @enddate
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 3:10 pm
The amount of freespace in the table is pretty much consistent with the fact that the clustered index has a FILL FACTOR of 80. The only way to make...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 3:08 pm
dba_pkashyap (11/25/2009)
How about DDL triggers at database level!!!
I'm liking that but can't you just set the users up with "data reader" only?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 3:00 pm
I agree with what Gail said and for the very same reasoning. However, I use TINYINT for things like this because it doesn't require any logic at all to...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 2:17 pm
Bru Medishetty (11/25/2009)
Use having clause at the end.
having [Purchase_%] > 50I did not try on your query since I don't have the table / column details.
Bru... if you copy and...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 2:04 pm
CirquedeSQLeil (11/25/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 2:02 pm
Ron-279530 (11/25/2009)
THanks for your feedback
Heh... I'm going to assume that you still don't have an answer to your original question but, first...
I notice from your post count that you're still...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 2:00 pm
... and it didn't take you long, either. 🙂
Just a couple of concerns for your code and data....
1. Town names aren't unique and any given town name could appear...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 1:28 pm
You could always do this in a spreadsheet with a pushbutton macro to read a cell (or an input message) and return the results to the spreadsheet.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 12:58 pm
john scott miller (11/25/2009)
--Jeff Moden
-------------------------------------------------------------------------------------
No i did not and that is why i am...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 12:54 pm
Heh... wow... people jumped on that post like white on rice... there' weren't any posts between the original and mine when I first looked at the post. Folks even...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 12:40 pm
It's a great idea and it's been suggested many times. But, just like a EULA, how do you guarantee that a newbie will actually read it never mind follow...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 12:38 pm
Heh... wait a minute, now... how big are the MDF and LDF files for TempDB? How much freespace do the other DB's have? Have you verified that TempDB...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 12:35 pm
repent_kog_is_near (11/24/2009)
I am with you in principle. I am asking what is technically going on inside, that may block a shrink, even when there is enough unused space.
Ah... got you....
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 12:31 pm
lonesome (11/23/2009)
I am really grateful to every body for help and time
ALTER PROCEDURE [dbo].[AdminSelectMovie]
@Movies VARCHAR(20), --For where clause. It...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 25, 2009 at 12:06 pm
Viewing 15 posts - 40,996 through 41,010 (of 59,102 total)