1.在数据库中创建一个自定义函数: REATE FUNCTION [dbo].[f_IsOriginsDisabled] ( ), @needPPTV bit ) RETURNS bit AS BEGIN if @origins='' begin ; end ); set @disables=''; begin set @disables = @disables + ',6'; end )) + ',' from Video_Origin ); ; ; BEGIN SET @ix = chari
http://blog.csdn.net/pipisorry/article/details/48024795 python调用数据库命令 conn = sqlite3.connect(".\database_name") for row in conn.execute("SELECT name, value FROM table_name"):... from:http://blog.csdn.net/pipisorry/article/details/48024