Viewing 15 posts - 34,786 through 34,800 (of 59,099 total)
What I wish is that Microsoft would stop ignoring T-SQL. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 5:25 pm
Let me throw in a warning here. If you shrink the MDF file, you will frag the world because of the way that shrinkfile works. You absolutely MUST...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 5:05 pm
Rog Saber (3/5/2011)
I can research how to do this. In essence, just replace my current view by creating an indexed view?
Yes. And Craig did a good job of explaining...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 4:56 pm
No... I'm not recommending trying to add an index to a view. I'm recommending that you build an "indexed view" which, yes, has an index on it, but...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 1:20 pm
arturv (3/5/2011)
Sometimes the "best practices programming" its not best or more profitable solution.But this is just an opinion
Then you won't mind me expressing my opinion. 😉 It takes no...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 11:37 am
It looks to me as if RTV_CURRENT_TABLE is the name of the view. That means that THIS...
( RT_TABLE.ship_date_time = RTV_CURRENT_TABLE.maxRTTRIPshipdatetime )
... is a join an an aggregated column in...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 11:28 am
amittheming (3/5/2011)
I want to perform vlookup kind of operation in sql query
I have a table with column A,B,C,D,Flag
A B C D ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 11:09 am
Heh... I defy anyone to actually create a forumula with a single VLOOKUP in a single column in a spreadsheet to actually get this working. 😉 Don't even...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 11:07 am
Mikey01 (5/1/2009)
I should point out the process creates over 150 tables in total.... and is probably spread across a couple 100,000 lines of SQL & 250 stored procs
That seems a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 10:52 am
Let's address the real problem here...
You have an 8GB TempDB and that should be more than enough for virtually any query you may have in a 400MB database. The...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 10:42 am
Duplicate post. No answers here, please. Please goto http://www.sqlservercentral.com/Forums/Topic1073695-338-1.aspx so we can keep all the answers together.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 10:01 am
arturv (3/4/2011)
why dont we keep it simple?
CREATE TABLE #test (id INT NULL, NAME NVARCHAR(20) NULL)
INSERT INTO #test ( id, name )
VALUES ( 101, 'Apple' ),
...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 9:53 am
peter.stanford 73369 (3/4/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 9:49 am
I did get your email and I responded this morning.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 9:46 am
ColdCoffee (3/4/2011)
Jeff Moden (3/4/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2011 at 9:39 am
Viewing 15 posts - 34,786 through 34,800 (of 59,099 total)