Viewing 15 posts - 3,406 through 3,420 (of 5,590 total)
Check your dmv's for missing indexes.
September 2, 2010 at 7:15 am
What I generally do is to add a parameter to the procedure:
@debug tinyint = 0
Then, within the code, do things like:
if @debug > 0 select ....
if @debug > 1 select...
September 2, 2010 at 7:13 am
Bezan (9/2/2010)
- with more periods (>10) there is complete mess .... why?
- another test: periodlength = 30 ... also totally different results... why?
- have to figure out better way...
September 2, 2010 at 7:04 am
Bezan (9/2/2010)
- have to figure out better way of getting numbers 1,2,3,4,... than as it is now from table
- Comumns name like 1-7 8-14 not...
September 2, 2010 at 6:54 am
Ian Massi (9/2/2010)
Worst case, you practice your interview skills and that's not a bad thing at all.
So true. Interviews is one of those things that I'm always a little bit...
September 2, 2010 at 6:39 am
irobertson (9/2/2010)
As an aside, I'd definitely be interested in seeing how the performance matches up on the interim disk write against the nested cte approach.
One thing that can be done...
September 2, 2010 at 6:15 am
I would suggest you read this article Passing Parameters as (almost) 1, 2, and 3 Dimensional Arrays[/url]
September 2, 2010 at 5:56 am
simflex-897410 (9/1/2010)
Why didn't I just do that for only name since that's the only one we are interested in displaying first value only while leaving...
September 2, 2010 at 5:52 am
Probably the easiest way would be for you to use the import wizard (right-click the database | Tasks | Import data). For the data source, select "Excel Source", and follow...
September 1, 2010 at 9:35 pm
Neither SSIS nor the OpenRowset/OpenDatasource functions can do this... they all use the JET database engine, and all they do is manipulate data (insert, update, delete, select).
To do formatting, you...
September 1, 2010 at 9:30 pm
Craig Farrell (9/1/2010)
WayneS (9/1/2010)
No problem.
At least is doesn't "end up tripping on the leap year for multiple year scenarios."
True, but neither does the mm one, just gotta deal with that...
September 1, 2010 at 9:21 pm
I guess that would depend on the size of the drives. On the systems that we were getting just a couple of years ago, we were putting the binaries on...
September 1, 2010 at 9:16 pm
Craig Farrell (9/1/2010)
simflex-897410 (9/1/2010)
Craig,The data was just dumped from mainframe to a .txt file and I just imported it to sql server db.
Nasty. Alright, quick fix. First, back...
September 1, 2010 at 8:58 pm
Craig Farrell (9/1/2010)
September 1, 2010 at 8:52 pm
Okay Craig, how's this?
declare @DateToCheckAgainst datetime;
--SET @DateToCheckAgainst = DateAdd(day, DateDiff(day, 0, GetDate()), 0);
SET @DateToCheckAgainst = '20100822';
SELECT repeatID,
BeginDate,
...
September 1, 2010 at 8:17 pm
Viewing 15 posts - 3,406 through 3,420 (of 5,590 total)