我的环境: Rails 3.2.x with RVM,Passenger,Apache on Linux (Ubuntu),我没有使用Capistrano,目前也不打算这样做。rake RAILS_ENV=production environment resque:work QUEUE='*'我该怎么做呢?
我正在尝试为我的sql server数据库生成随机数据。我已经创建了一个需要生成字符串长度的存储过程,但问题是它不允许我在insert语句中调用它。此外,这也不起作用
insert into table1 (varchar_data,int_data) select ((sp_GenerateRandomString 4),CAST(RAND() * 10 AS IN