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

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

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

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


当前回答

对我来说,有趣的问题是:“你能对一件只能是它本身的作品获得版权吗?”

如果我对你说,“给我写一首关于狨猴的歌”,基本上,语言和音乐的属性保证了你会写出一首独特的歌,这是从未有人写过的。它可能不是超级原创(或好),但如果我们听到有人播放你的歌曲,我们就会毫无疑问地知道他们是从你那里得到的。

另一方面,如果我说“为我编写一个SQL查询,从这样的数据库结构中获取以下信息”,基本上有一种“正确”的方式来编写它(当然可能会有一些变化)。完全独立工作的其他人很可能会编写完全相同的查询。

因此,你如何证明你的版权被侵犯了呢?

当然,我不是律师。

其他回答

这是一个由软件工程师组成的董事会,他们对编码非常了解,但对法律问题知之甚少。在这个问题上,你最好咨询一下律师,而不要冒险接受错误的建议。

我会仔细研究所有的协议。你永远不知道,他可能第一年只拿到500美元,因为他知道他将支付某种类型的年费。这为学校系统节省了一大笔钱。

如果应用程序的数据结构改变了怎么办?他可能要花好几天重写这个查询,却只能得到500美元。

也许学校系统不想年复一年地收取固定的小时费,只是决定500美元是固定的费用。

any content can be copywrited, including SQL procs, which methods may be considered a trade-secret. SQL procs can be a component of an entire application which most all are copywrited, unless the are released to the public as freeware, open source or with a GPL. If you feel uneasy about infringing on the SQL proc you mentioned, all you have to do is slightly modify the SQL proc by using an alternative statement or add a dummy part to it which has no effect on the desired result. In the chemical products industry, for example: a cleaning product made by ECOLAB, whose mixture of active and inactive chemical ingridients is patented, has been imitated by several other competitors who sell basically the same product for much less. The way the got around infringing on ECOLAB's patent is to modify the content of one or more chemical ingridients by 1%. So, using this as an analogy, you can do the same to the copywrited SQL proc.

找一个从未见过勒索者代码的人来检查表结构,并以干净的方式派生一个等价的查询。

Add:其中1=1。

新的查询,问题解决。