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

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

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

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


当前回答

我是一名DBA,使用过许多带有罐装SQL代码的第三方应用程序,我从未见过SQL语句附加这样的东西。如果你可以直接访问数据库并从中查询数据,那就重写代码,不要再给那个人一秒钟的时间,因为这样一个500美元的单进程似乎是一种敲敲敲敲。

But without seeing the code there's no telling how involved it is. I've written some SQL statements that go into hundreds of lines to get data, and they can take DAYS or even WEEKS to write and debug. If this guy invested that kind of time into the process and you're paying $500 per run, it may be worth it ... but if it's just a strait forward Select statement that's no more then a dozen or so lines long, that is not worth $500 and can be written by you or someone else with a basic understanding of SQL. Even if it looks similar to his, honestly sometimes there's only so many ways to write something. "The dog is blue"... how many ways can you say it? Not many :)

是的,我也不是律师,但当涉及到这样的事情时,我的道德准则是指导我的。

其他回答

你从没说过你在哪,所以我们给你的任何建议都没用。不同的司法管辖区有不同的法律。

如果你在美国,打电话给你当地的律师协会,要求推荐一个从事软件版权工作的人,相信那个人告诉你的,而不是你在SO上读到的任何东西。如果你在另一个国家,找出相应的。

作为一名美国公民,而不是任何类型的律师,有几件事需要考虑。

你从没告诉过我们这个问题有多复杂。我们不可能为某些内容的唯一合理实现获得版权。如果它很简单,那就用简单的方式重写。如果它很复杂,则查询可能不是严格意义上的功能性查询,并且其中无疑存在一些创造性。在这种情况下,你应该用一种不同的方式重写它,或者雇一个人。

您应该能够找到比继续支付500美元/年更便宜的人来重写查询,并且应该不难找到比原始开发人员更有道德的人。

这是不言而喻的,但我说的任何话都不应被视为法律建议。

我会质疑当初把工作外包出去的人。如果没有恰当地签订合同,那么合同可能是作为一种恩惠而授予的。在政府工作中,这通常是不受欢迎的,而且这通常是经营任何业务的糟糕方式(无论是否盈利)。

学校当局应认真检讨与该公司/个人的合约义务,因为他可能欠钱。如果这是在新墨西哥州,我认识一位专攻商业法的律师。

你总能唤起他同情的一面:"想想孩子们"在我看来,每年500美元在某种艺术项目上至少能达到一点效果。

希望一切顺利!

我认为你需要看的不是代码,而是写代码的人所依据的合同。通常在任何类型的编程活动中,项目的源代码/目标代码的所有权都有明确的指示。

如果原来的合同里没有,我会确保这份合同里有。

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

从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是有版权的。

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