Viewing 15 posts - 8,056 through 8,070 (of 14,953 total)
Initializing files that size will take a while, even on a blazing fast machine. Give it some time.
October 20, 2009 at 1:49 pm
Excellent. Then the join should speed things up considerably. Assuming you have indexes it can use.
October 20, 2009 at 1:47 pm
The documentation on sp_send_dbmail includes rules on attaching query results. If that won't do for what you need, what I often do is turn the query results into an...
October 20, 2009 at 1:45 pm
Try this:
update orderimport
set import_rec_status = 'A'
from pharm.dbo.cms_medorderimport as orderimport
left outer join pat..cmspatviewl vw
on orderimport.patientid = vw.patid
and orderimport.mardbname = vw.mardbname
where orderimport.import_rec_status = 'i'
and vw.patid is null;
Might be faster.
Also, guessing from the...
October 20, 2009 at 1:37 pm
I run into the same issue. Can't authenticate into the page. Can post as a guest, but anyone who wants to post as GSquared can pretty much do...
October 20, 2009 at 1:10 pm
Just change the row_number() partition and order by in my query to suit your needs.
October 20, 2009 at 12:16 pm
Not a chance. He's already got another thread on this site where he's bragging about the fact that someone provided a link to an article about index fragmentation, and...
October 20, 2009 at 12:11 pm
Slight benefit that you can use the log for an audit trail. Major drawback that it's going to consume more and more drive space as time goes on.
October 20, 2009 at 12:07 pm
Is the Passwords table just a log of the most recent 9 (or less) passwords that someone has used?
If so, you could incorporate that into a single trigger that would...
October 20, 2009 at 12:03 pm
To do that, you need to set it up as an output parameter for sp_executeSQL to use. Books Online has the rules for that and examples of how to...
October 20, 2009 at 11:57 am
Per your first post, the problem is the ID not resetting. Maybe I'm misreading this:
As seen the first student processes just fine however the classId isn't reseting on...
October 20, 2009 at 11:54 am
Trust me, that's not just a UK thing. I've never encountered it yet in the US. I was asked what I would do. I consider most managers...
October 20, 2009 at 11:49 am
I use either joins or subqueries. I've found both effective.
October 20, 2009 at 11:46 am
WayneS (10/20/2009)
bitbucket-25253 (10/20/2009)
WayneS
Just had a "developer" send me some code.
Wayne I submit that your problem is NOT with the developer but with either the hiring/current Manager who think that the...
October 20, 2009 at 11:44 am
The best method I know for deduping looks like this:
;with CTE as
(select row_number() over (partition by [Load Number], [Event Code] order by 1) as Row
from dbo.MyTable)
delete from CTE
where Row >...
October 20, 2009 at 11:39 am
Viewing 15 posts - 8,056 through 8,070 (of 14,953 total)