Viewing 15 posts - 53,521 through 53,535 (of 59,072 total)
Heh... not to worry, Grant... I have a target on my desk, right next to my coffee cup, that says "Pound head here, then read the post again." I've...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 19, 2007 at 7:30 am
Like I said... use the code I just posted... it takes the CHAR(32) into account...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 19, 2007 at 7:21 am
Brett,
Obviously, a couple of us have run into the problems associated with "Sequence Tables" such as you've described... if you would, please, generate the table creation for your sequence table...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 19, 2007 at 6:52 am
Heh... feed the vendor a nice juicy pork-chop... with a sling-shot! 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
December 19, 2007 at 6:50 am
Heh... thanks, Donald... I just knew there had to be something else... maybe even some DELETE triggers somewhere in there that no longer fire due to the Truncate...
Anyway, thanks for...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 19, 2007 at 6:48 am
Ashwin M N (12/18/2007)
create table test1 (A1 int identity(1,1),A2 datetime)
insert into test1(A2) select 19-12-2007
create table test2 (A1 int identity(1,1),A2 datetime)
insert...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 19, 2007 at 6:46 am
Mike Levan (12/18/2007)
select startDate from tblemp where startDate between '1/1/2006' and '12/31/2006'
i dont get that date range, why?
startdate is varchar(100), I Cant change that in the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 19, 2007 at 6:32 am
Sure... with what?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 18, 2007 at 5:22 pm
David,
Now, be gentle with me... just now starting to get my feet wet on 2k5... 😉
...since the following two queries return the identical result set, why did you include "STUFF"...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 18, 2007 at 4:44 pm
Unlike Oracle or other RDBMS's, you can do this in SQL Server...
UPDATE CEM_smcsAssignments
SET MGR = a.MGR
FROM #ADD a,
...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 18, 2007 at 3:47 pm
Why might using a parameter slow down a basic report?
Dunno about most of your problems (although sub-queries could be a huge problem if they are actually correlated subqueries), but some...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 18, 2007 at 3:43 pm
Are any of the items in the FROM clause actually views instead of tables?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 18, 2007 at 3:05 pm
I want to create a function for which I pass ID, placeholder, type; it should give me a concatenated names.
Why? Basically, this is a form of "Death-by-SQL"... where are...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 18, 2007 at 3:02 pm
You don't really want to have it reclaim space automatically... causes too much fragmentation over time...
You need to find out what's making it grow to 42Gig... that's step 1...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 18, 2007 at 2:55 pm
10 hours to 15 minutes? Heh... I like SELECT/INTO a lot but I've not seen that type of performance gain just by switching like that before... Are you sure...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 18, 2007 at 2:52 pm
Viewing 15 posts - 53,521 through 53,535 (of 59,072 total)