Viewing 15 posts - 391 through 405 (of 428 total)
indeed. have a look at Djikstra's or Floyd's algorithm for finding shortest path between nodes in a connected graph. I don't think it would be very efficient to...
November 18, 2006 at 1:50 pm
in general, travel time between two points is not the same in both directions. most common example is airlines - because of prevailing winds it takes longer to fly...
November 18, 2006 at 11:50 am
I wouldn't consider doing this unless you have identified that your queries using these date functions have perf problems.
I have found that it's not a good idea to make assumptions...
October 31, 2006 at 4:05 pm
if you are unsure about pulling the whole table over, you can always do this: INSERT INTO ... EXEC linked.db.dbo.sproc - then you can always be absolutely certain that the...
October 31, 2006 at 3:51 pm
the \ character does not need to be escaped in t-sql. only the single quote character ' needs to be escaped. for example, try this:
select '\', 'abc\def', '',...
October 31, 2006 at 9:42 am
While code reuse is a good goal to have, you shouldn't sacrifice the security of your site to attain it.
Before you consider using dynamic sql for anything, you should read...
October 28, 2006 at 1:36 pm
It looks like you need to generate sequential guids. correct?
if so you should check out Gert Draper's XPGUID library:
http://www.sqldev.net/xp/xpguid.htm
and if you are on 2005 (guessing...
October 28, 2006 at 1:10 pm
This is an old thread, but I just had to add that SqlSpec is better than apexsql doc for this purpose. But then I am biased - I wrote...
October 28, 2006 at 9:55 am
SqlSpec uses these extended properties to generate a very comprehensive data dictionary. Link to it is in my sig below.
October 27, 2006 at 5:12 am
somewhat late on this thread, but SqlSpec will do what the poster wants. Link to it is in my sig below.
October 27, 2006 at 5:10 am
I know this thread is very old, but I have to add SqlSpec to the list. It's quite a bit better than the two listed above.
October 27, 2006 at 5:07 am
I would avoid doing this if you can. Cross server joins are usually VERY slow. It's much better to have both tables you want to join on the...
October 25, 2006 at 7:45 am
ok, this is fixed now. problem was the code was trying to script schemas, and schemas don't exist on 2000. SMO is rather strict about what you ask...
October 23, 2006 at 9:00 am
oops! I should have tested this on 2000 The problem is the tool is trying to script an object that doesn't exist in...
October 23, 2006 at 8:35 am
well, I have found that the publishing wizard pretty much sucks. It doesn't even work against pubs!!
Here's the error I get:
Generating script for database pubs
- Including default object types...
October 22, 2006 at 9:12 am
Viewing 15 posts - 391 through 405 (of 428 total)