我在一个学区工作。每年我们都必须从学生管理系统中导出一份学生名单,并将其发送给处理我们在线考试的公司。

所以为了做这个输出,我们必须雇佣一个了解我们学生管理系统内部运作的人。他写了一个sql (Adaptive Sybase sql Anywhere)查询,将学生导出到我们需要的csv文件。这是在我开始为学区工作之前,所以有一段时间我以为这是一个真正的应用程序,直到轮到我自己做导出的时候。

每年他都会向我们收取500美元来更新这个查询以导出当年的学生。所以当我发现它只是一个查询(.bat文件和.sql文件)时,我的想法是“我可以自己更新”。我所要做的就是改变查询中的年份(例如。2009 - 2010)。

查询(。SQL文件)本身在顶部有这样的注释:

// This code was writtend by [the guy]
// and is the property of [his company]...Copyright 2005,2006,2008,2009
// This code MAY NOT BE USED without the expressed written consent of 
// [his company].

(是的,上面确实写着“writtend”。)

所以现在我老板担心我们侵犯了版权。那家伙会发现是我自己更新了查询因为我们今年还没有要求他更新并采取法律行动。

回到刚才的问题: 他真的能获得这个问题的版权吗? 如果是的话,我们自己修改是不是侵犯了版权? 在我看来,单个查询不是程序代码。它更像是一个命令行命令。但我不知道这在法律上是怎么考虑的。


当前回答

把2009年改成2010年要500美元?哦,伙计,真是个骗局。

今年付给他500美元,并告诉他你想让查询以学年为参数。看看他知道这将是他最后一次为你工作时作何反应。

其他回答

我建议你提出一个不同的问题:鉴于我们的学生管理系统的这个和那个表结构,SO社区会提出什么SQL查询来导出任何给定年份的学生列表?

这将使你最初的问题变得有趣,但与你手头的任务相关,因为你将有一个社区提供的解决方案,可能会越来越高性能,更容易维护:)

我的第一个问题是:“你去年付钱给开发商的时候,你和他的合同上写了什么?”或者,我会去找学校系统的律师。还有去年的合同,如果有的话。

Just as others have stated here "I am not a lawyer" but I do deal quite a bit with intelectual property. Copyright can not be used to protect an idea. It is meant to protect an expresion. In other words, if someone was to write an article or a book or paint a picture you can't reproduce the copyrighted works without an express permission of the copyright holder. If you were to cut and paste the text of the query in to your own, you would most likely be violating the copyright. On the other hand, if you were to write your own query that achieves the same results but in a different way you would nto be infringing on the copyright. I think the question you have to ask yourself "can I write a similar query without copy/paste of the original query?"

从copyright.gov:

Copyrightable works include the following categories: literary works musical works, including any accompanying words dramatic works, including any accompanying music pantomimes and choreographic works pictorial, graphic, and sculptural works motion pictures and other audiovisual works sound recordings architectural works These categories should be viewed broadly. For example, computer programs and most "compilations" may be registered as "literary works"; maps and architectural plans may be registered as "pictorial, graphic, and sculptural works."

更具体地说,你的问题:

Several categories of material are generally not eligible for federal copyright protection. These include among others: Works that have not been fixed in a tangible form of expression (for example, choreographic works that have not been notated or recorded, or improvisational speeches or performances that have not been written or recorded) Titles, names, short phrases, and slogans; familiar symbols or designs; mere variations of typographic ornamentation, lettering, or coloring; mere listings of ingredients or contents Ideas, procedures, methods, systems, processes, concepts, principles, discoveries, or devices, as distinguished from a description, explanation, or illustration Works consisting entirely of information that is common property and containing no original authorship (for example: standard calendars, height and weight charts, tape measures and rulers, and lists or tables taken from public documents or other common sources)

IANAL,但是我在列表中没有看到任何使SQL查询不符合版权保护资格的内容,而用图灵完备语言编写的程序则被认为是可受版权保护的。我倾向于说,SQL是有版权的。

考虑到这一点,您肯定希望采纳其他答案之一的建议,要么用没有如此繁重许可的代码替换代码,要么让您的承包者对查询进行参数化。如果他拒绝,毫不犹豫地解雇他。

版权就是这样;它涉及复制某物的权利。(注意,备份是允许的。)所以编辑他的代码,并运行编辑后的版本不会侵犯版权。

然而,他可能会试图声称他没有给予使用代码的书面许可;因此只有他才能使用它。另一方面,这样的限制可能被认为是不合理的限制——如果你在停车场开车从他身上碾过会发生什么?-(我刚才说了吗?^^)

但是,如前所述,不能脱离原合同的文件而单独考虑该评论。

另一种想法是,大多数开发者在他们的作品中加入这样的评论只是为了阻止那些赚钱的公司从他们的作品中获利。如果他每年收取这么多钱的唯一原因是他真的不想做这份工作,我也不会感到惊讶,但你们只是太慢了,不知道这有多容易。