Viewing 15 posts - 796 through 810 (of 1,473 total)
Bob Hovious (1/19/2009)
I know I'm preaching to the choir, but select * is just bad practice.
I agree. I was just considering re-writing this to manually list all of the...
January 19, 2009 at 2:01 pm
Thanks Matt. I've always known you could Schema Bind a view, but I've never needed to, so I didn't consider the reasons why you might do so. In...
January 19, 2009 at 1:55 pm
If that's the case, then any time the definition for Table1 changes, that view will have to be altered, unless there is another option that I can set...
January 19, 2009 at 1:35 pm
See the link in my signature for Jeff Moden's article on Cross-Tabs. Should solve this handily.
January 19, 2009 at 10:28 am
I'll start it off with one that is fairly basic but many may not know about.
Creating a temp / staging table that mirrors a real table for data selection.
SELECT *
INTO...
January 18, 2009 at 1:53 pm
Create your second server as a linked server on the first. (See http://msdn.microsoft.com/en-us/library/aa213778(SQL.80).aspx for more information)
Then, you can reference the other server and the current one in the same query.
For...
January 18, 2009 at 1:40 pm
GilaMonster (1/18/2009)
That's actually not that hard, providing it's impossible to have two sequential in's or out's and the first entry is going in.
Is that ever the case though? =).
January 18, 2009 at 1:16 pm
In addition to what Steve has requested, please see the article in my signature on how to provide sample data.
January 18, 2009 at 11:57 am
There's a mini debate of COALESCE vs. ISNULL going on in the concatenating NULL values thread. I believe the consensus is that ISNULL is in fact faster, but COALESCE...
January 17, 2009 at 9:46 am
He's just carrying forward the serial number whenever the DocumentID is 'H'. Easily solved by Running Totals.
William, please observe the way I posted your sample data. Please duplicate...
January 17, 2009 at 9:26 am
PW (1/15/2009)
Frequent use of DISTINCT to hide a fundamental design flaw and/or...
January 15, 2009 at 3:13 pm
Isn't the point of that whole debate that the optimizer can do what it wants? While the test code may demonstrate certain characteristics, is anyone certain that another query,...
January 15, 2009 at 2:49 pm
No problem Andy, glad we could help.
January 15, 2009 at 2:19 pm
It is my understanding that the only thing that it will hold true 100% of the time as far as that goes is a case statement. This issue has...
January 15, 2009 at 1:29 pm
What is the datatype of QuoteHrs.Item?
January 15, 2009 at 1:25 pm
Viewing 15 posts - 796 through 810 (of 1,473 total)