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

所以为了做这个输出,我们必须雇佣一个了解我们学生管理系统内部运作的人。他写了一个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”。)

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

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


当前回答

**任何东西**都可以获得版权。如果你觉得你自己可以完成这项工作,那就直接结束与程序员的安排。我建议您尝试自己编写查询(因为它既有趣又有教育意义),而不是复制/粘贴现有的查询(因为这通常会以糟糕的结果结束)。

其他回答

我也不是律师,但是…

我猜你已经获得了使用查询的许可,因为你支付了他的使用费用。

// 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].

但措辞并没有说要“改变”它……:)

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?"

上面说你不能在网上发布他的代码吗?

在这里发布!

然后有人修改了它,并在没有版权的情况下发布了修改后的版本。利用它。

看看你和那家伙的公司的合同。它可能已经说你拥有他们编写的任何代码。

因为我们在这里都不是律师,我想指出这篇文章是通过Techdirt的方式来的,它确实有相当多的法律追随者,特别是在版权领域。想知道他们是怎么说的吗?

你能对SQL查询进行版权保护吗?