Viewing 15 posts - 20,491 through 20,505 (of 22,202 total)
I don't quite see a question either.
BTW, having a covering index is not inherently a bad thing. Actually, it's inherently a good thing. But because of the cost of maintaining...
May 1, 2008 at 11:43 am
It was that lack of scale that forced me to go in and make edits to the code. It wouldn't compile as it was.
May 1, 2008 at 11:38 am
RyanRandall (5/1/2008)
I'm also reminded of this article...http://www.sqlservercentral.com/articles/Advanced/lookuptablemadness/1464/
Yeah, that was the one I meant when I said "MUD" but it's supposed to be "MUCK."
May 1, 2008 at 8:36 am
Weeks, dude, weeks. I just keep telling myself that bringing the sword to work won't really help the problem... I think. Maybe it will...
May 1, 2008 at 8:32 am
You're telling me I fixed it by accident? I just put the semi-colon on because I've gotten in the habit of closing commands with it.
May 1, 2008 at 8:31 am
Yes, but starting with SQL Server 2005, the actual tables were hidden and all access to them was controlled through dynamic management views. Some of the views look exactly like...
May 1, 2008 at 8:24 am
A little overly complex, but very slick. Nicely done. A+. Please take my seat... no really... take my job, or just shoot me.
BTW, 2005 or better syntax is preferred.
May 1, 2008 at 8:20 am
Absolutely. Even down to the schema, although we were lazy and just left the enums in the 'dbo' schema, but yes. That's the way to go. You're maintaining a bit...
May 1, 2008 at 8:15 am
Again, I'm answering this with little to no information, so please take anything here as mild suggestions, not major pronouncements...
What about a design something like this:
Table: Item
Columns: ItemId
Size
Color
Description
Cost
?
Table: Order
Columns: OrderId
Company
OrderDate
DownPayment
?
Table:...
May 1, 2008 at 7:53 am
It depends on the UDF, but frequently they have no statistics on them, so the optimizer assumes one row. Since, in this case, it really will be one row, I...
May 1, 2008 at 7:44 am
One other thought, this sort of thing usually derives from something the business thinks it's not getting, so it wants to put a more business focused person in place. You...
May 1, 2008 at 7:35 am
Oh, then yes, the data describing the databases is stored in a series of views called dynamic management views. So that's yes to all three.
May 1, 2008 at 7:32 am
If I understand the question, why don't you just maintain this data in a table? Even if it's only one or two rows, you can join against it when you...
May 1, 2008 at 6:49 am
1 & 2, definately.
I'm not sure I understand what #3 is.
May 1, 2008 at 6:42 am
Be very, very nice about it, but get it down in writing that you're suggesting this might be a poor decision. Then, as long as you're getting paid... train away....
May 1, 2008 at 6:41 am
Viewing 15 posts - 20,491 through 20,505 (of 22,202 total)