Viewing 15 posts - 31 through 45 (of 113 total)
hi!
you shouldn't create a connection for each recordset as each connection consumes resources on your db server (don't forget to think of your webapp serving multiple requests of such a...
November 3, 2003 at 6:27 am
hi!
voting for bad idea as well! don't know but, some guys around seem to use sql server for anything else but its initial purpose (to be a *database* server).
skip starting...
November 3, 2003 at 6:20 am
hi!
and don't forget to check the windows *System* event log for reported hardware timeouts, driver errors or similar (eg. on most SCSI adapters you get something like "timeout exceeded accessing...
October 29, 2003 at 6:31 am
quote:
... but not select top @Reccount ...
... unless you use dynamic SQL and sp_executesql (to...
October 29, 2003 at 6:26 am
trying to hack an unkown source? 😉
could do it like that: cursor for "select name from sysdatabases"
dynamic cursor for: "select name from <db>.dbo.sysobjects where xtype = 'U'"
dynamic select for your...
October 29, 2003 at 6:19 am
check "CREATE PROCEDURE" statement in BOL
October 27, 2003 at 7:15 am
SQL*Net or Net8 provides the basic libraries enabling applications (whatsoever) to access oracle databases on da data stream level.
* You won't be able to talk to Oracle without those libraries...
October 27, 2003 at 7:14 am
hi!
concerning the example: don't forget to use "tools/references" to add the ADO interfaces to your project (MDAC - available from microsoft as "MDAC_TYP.exe" in thousands of variants and installed by...
October 21, 2003 at 3:58 am
hi!
try to avoid empty strings, if you're up to creating "clean" code on whatever client side you're using. stumbling over a NULL from time to time will make your developers...
October 21, 2003 at 3:47 am
hi!
in general, you should break up updates *that* big into poritions of a considerable size, say 1 million rows each. do this by setting rowcount before your update statement:
set rowcount...
October 21, 2003 at 3:40 am
hi!
sorry, hadn't time to think it all over, but two things struck me:
1. don't use "for to recordcount" to iterate through recordsets! use "while not eof", thats more secure!
2. if...
October 21, 2003 at 3:29 am
hi!
other suggestion: why do you want to mess around with generating/modifying your html code in your dbms? its just not built for it, and t-sql is somehow a little "stoneage"...
October 14, 2003 at 2:54 am
hi!
you want to know which indexes are used for your queries (regardless if "normal" selects or views): turn on "show execution plan" in query analyzer and examine the result.
best regards,
chris.
...
October 14, 2003 at 2:48 am
Viewing 15 posts - 31 through 45 (of 113 total)