Viewing 15 posts - 7,276 through 7,290 (of 7,466 total)
To avoid sqlstatement-length you might consider to use text or ntext datatype for the SQLstmt-column, because when your trigger fails, your transaction fails, so your applications will be affected.
Glad I...
December 29, 2003 at 3:43 am
This may get messy but I'll give it a shot.
TEST-it TEST-it TEST-it and use it wizely.
It's still Monday-AM
(don't know if I would use this way in...
December 29, 2003 at 2:50 am
are you just trying to use Profiler for troubleshooting or do you want to know at all time which action(s) take place on this table ?
Regarding the sqlserver-table-triggers you could...
December 29, 2003 at 1:44 am
if you can live with gaps in these numbers you could use an identity field (check BOL)
You can retrieve the inserted value afterward with SCOPE_IDENTITY()
December 29, 2003 at 12:52 am
I hope you are not trying to run this on a cluster ?
Why don't you generate the osql-line in your job and then xp_cmdshell it ?
(select @sqlcmd = 'osql -E...
December 29, 2003 at 12:38 am
- are you sure nobody changed the tablestructure when you were looking at it with EM ? (You will need to refresh the tables-tab) Refreshing at the correct position in...
December 22, 2003 at 5:55 am
Whichever way you're going to do this delete-cycle. Remember to provide the propre indexes (FK) to speed it up ! Keep their columns in exact column-order(as defined on the parent-table).
...
December 22, 2003 at 12:25 am
Why perform the shrink database if you've truncated the tables and are planning to load ?
build your load-data sorted on the tables clustered index and then load.
you could also put...
December 16, 2003 at 5:22 am
1.5 ct
maybe you could try to drop/create the proc with QA at your server ?
This could solve dependant settings (that are stored with the sp)
Edited by - alzdba on 12/16/2003...
December 16, 2003 at 3:01 am
- Log Simple does mean it only keeps the log-data until commit is done.
- Maybe index b.recstatus and force the use with hint.
- To keep log-chunks low you could make...
December 16, 2003 at 1:03 am
- If you can avoid lock-escalation, do so.
So set a table lock when you start loading.
- You can have autgrowth active, but if you detect space may be allocated during...
December 16, 2003 at 12:49 am
correct.
Should be :
CREATE VIEW v_selectarticle
AS
SELECT TOP 100 PERCENT article_id, headline FROM ARTICLES
ORDER BY article_id desc
December 16, 2003 at 12:26 am
This is a long shot, but maybe you could download a trial copy of erwin(CA) or another dbcompare-tool, reverse engineer your scripted db and compare it to a reverse engineered...
December 15, 2003 at 12:58 am
Viewing 15 posts - 7,276 through 7,290 (of 7,466 total)