Viewing 15 posts - 3,751 through 3,765 (of 6,216 total)
In every module you need to include an error handler. At the top put this:
on error goto Handler
and then near the bottom put this:
exit sub
Handler:
msgbox err.description
resume next
That's a bare bones...
July 17, 2002 at 2:41 pm
Why are you using Openquery instead of just referencing the server directly?
Andy
July 17, 2002 at 10:12 am
Are you running with exactly the same parameters each time? If not there is a chance that the compiled plan works well with one set and not the other. In...
July 17, 2002 at 10:10 am
In VB you can take a shortcut and use the strconv function, has an option that will proper case everything. If you're doing it manually the basic sequence is to...
July 17, 2002 at 10:08 am
We've covered it a little in various threads, dont think we have an article on it so far. Your choices are to use a trigger to capture various changes or...
July 17, 2002 at 5:37 am
Try this article, has some sample code:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q258038
Andy
July 17, 2002 at 5:28 am
And some good forum threads too. Lots of varying opinions, worth doing some reading first. I think in general we recommend not using prefixes like "tbl", standardizing on either always...
July 17, 2002 at 5:25 am
That's exactly right. You only do it on strings, numbers (true numbers that is!) don't have single quotes in them anyway. If you use an ADO recordset to do the...
July 17, 2002 at 5:23 am
Cant disable, have to remove the foreign key relationship.
Andy
July 17, 2002 at 5:20 am
SQL7 requires a little more work. Shouldnt, but it does. Basically you have to generate filler transactions in the log to get it to move to the next virtual log...
July 17, 2002 at 5:18 am
RedGate has a product called Data Compare that generates inserts/updates necessary to sync two tables, saves as script. Doesnt support text columns though.
Andy
July 16, 2002 at 5:52 pm
Insert into and select into wont work. One that stretches the definition a little would be to use ADO and the sp_oa procs to grab the result as a stream,...
July 16, 2002 at 4:56 pm
Been a while since I worked on SQL7. I think it works about the same as 2000. Basically once you get everything into the object, you can call .save or...
July 16, 2002 at 10:49 am
Truncate does write to the log, it just logs the page deletes rather than row by row. If you run it inside a transaction and rollback all your data will...
July 16, 2002 at 10:47 am
Interesting article Steve. Kashif, I know what you're saying, but it's one of those things that I dont know WHY we have to understand. It's such a mismash of if...
July 16, 2002 at 6:19 am
Viewing 15 posts - 3,751 through 3,765 (of 6,216 total)