Viewing 15 posts - 16,816 through 16,830 (of 22,211 total)
Rajesh kasturi (7/31/2009)
I knew some ways to get rid of tempdb issue.
Why I posted the question is,
Who expects reply to this quesion.
I agree with you, I am still...
July 31, 2009 at 5:37 am
Yeah, I'm with Jeff on this. You can rely on TRUNCATE resetting to the original definition. I have not seen "0" popping up, ever, after rebuilding a table, truncating, or...
July 31, 2009 at 5:34 am
Actually though, that's what views are for. If you really don't want the internal's available, a view masks it perfectly. You could run into issues though if you see lots...
July 30, 2009 at 12:52 pm
And then a thorough code review (we're talking proctology exam) to determine if there's one procedure with a problem or if there's a systemic issue with all the code being...
July 30, 2009 at 12:30 pm
Documentation and discipline are about the only things that come to mind. I've never tried doing something like this nor heard of anyone doing it successfully.
July 30, 2009 at 12:25 pm
I agree. Other than masking the columns behind a view, there's no real way to do this.
BTW, that's by design. SQL Server is not meant to be the presentation layer....
July 30, 2009 at 11:58 am
Ronnie.Patton (7/30/2009)
We will most likely be doing its a reports database that needs to be a copy of the production database at some intervial behind. 1 hour...
July 30, 2009 at 11:16 am
Thanks Jeff. I wasn't sure whether or not to suggest the nested set approach. I don't have any experience with it, but I knew it was a possibility.
July 30, 2009 at 10:28 am
Bad news. The only way I know to change physical column order is to drop & recreate the table.
July 30, 2009 at 9:22 am
OK. So how are the bogus fields identified? In client code or TSQL? If on the client side... 20 calls might not be that expensive. If on the TSQL side......
July 30, 2009 at 9:20 am
Thinking about it a bit more... do the 20 rows come from the results of the procedure? You might want to look at the OUTPUT clause... I'm guessing here.
July 30, 2009 at 8:30 am
Order of the columns in the key may or may not break down the way you're talking about. It depends on what the optimizer does. As a starting point, yeah,...
July 30, 2009 at 8:21 am
It's only four columns? I'd suggest you look up a method written by Jeff Moden that uses a tally table to break down a comma delimited list. That's probably going...
July 30, 2009 at 8:19 am
Sounds like a classic case of parameter sniffing. Do a search on that term. There are multiple ways to fix the issue.
July 30, 2009 at 8:17 am
SELECT INTO with a linked server and that much data is going to cause you a lot of headaches. Linked servers move the data being processed from the linked server...
July 30, 2009 at 7:38 am
Viewing 15 posts - 16,816 through 16,830 (of 22,211 total)