|
|
|
|
A**z 发帖数: 184 | 5 【 以下文字转载自 Programming 讨论区 】
【 原文由 Antz 所发表 】
刚开始用,不知道该到什么地方找错误,下面是我的
两个function, insert_book(), insert_user();
两个function几乎一模一样,可是前者可以work,
后者每次运行到
EXEC SQL insert into users values
(:s_ssn, :s_name:, :type, :resnum, :checkoutnum )
的时候就死在那里 :(
如果我在 SQL> 的prompt后面直接写这个statement,
就可以成功的插入进去。哪位高人帮我看看。//bow
void insert_book()
{
EXEC SQL BEGIN DECLARE SECTION;
char s_title[31];
int s_bid;
char s_author[31];
int i_res = 0;
EXEC SQL END DECLARE SECTION;
printf("\nbid:");
scanf(" |
|
k**g 发帖数: 1558 | 6 建立一个自己的procedure用来rank不同table里面的数据
Create Procedure ASCRanking
@variable varchar(20),
@Rnk_variable varchar(20),
@tablename varchar(50),
@numberofcategory varchar(5),
@Partition varchar(50)
As
Declare @sql1 varchar(200)
Declare @sql2 varchar(200)
BEGIN
set @sql1='Alter Table '+@tablename+'Add '+@Rnk_variable+' real'
EXEC(@sql1)
--set @sql2='Update '+@tablename+
--' Set '+@Rnk_variable+'=NTILE('+@numberofcategory+') OVER(PARTITION BY '+@
Partition+' ORDER BY '+@variable+' ASC)'
--EXEC(@sql2)
END
... 阅读全帖 |
|
|
|
u**d 发帖数: 211 | 9 getRuntime().exec(cmd) 有什么要注意的地方么?
我的外部程序就是 cmd="./list 'xxxx'" 其中 xxxx 使用 jdbc 从数据库
获取的字符串,数据库的内容是西欧字符,用 unicode 编码
在 shell 下运行 ./list 'xxxx',xxxx 必须要是 iso-8859 编码
但在 getRuntime().exec 的说明文档里,没有看到指定编码的地方
有一种用法是 exec(String command, String[] envp)
还是 envp 能设定编码?
谢谢 |
|
k****i 发帖数: 101 | 10 require! <[ child_process deasync ]>
exec-sync = deasync child_process.exec
exec-sync 'sleep 5'
console.log 'time up' |
|
w***g 发帖数: 5958 | 11 既然计算是python的,上django更方便吧。
这是我用django建的,除了上传数据不对用户开放,别的跟你要做的差不多。
a2genomics.com
我其实也是exec调用,而不是用api。对于科学计算exec要flexible得多。
qsub没有问题。更新状态应该放到qsub脚本里面。
我是用数据库自己建了个job queue,这样任务状态啥的跟django整合得更好。
而且可以定义pipeline,某一步exec成功了自动开始做下一步。
端。
code
mail |
|
g*********r 发帖数: 124 | 12 在你的 WinEdt 的安装目录下找到 \Exec\MiKTeX 子目录中的 PDFTeXify.edt
文件,用 WinEdt 打开,第 25 行为(我用的 WinEdt 版本是 5.4)
Exe('%b\Exec\Acrobat CloseDoc.edt');
它的功能就是自动关闭打开着的 pdf 文件,具体执行文件是 \Exec 子目录中
的 Acrobat CloseDoc.edt 文件。
确保这两个文件都是 WinEdt 的默认版本,并且安装在正确的目录下。 |
|
i********w 发帖数: 2223 | 13 谢谢指点。
我查看了PDFTeXify.edt 文件,没有问题;
两个文件位置也没有问题。
但是运行pdftexify的时候 还会stop 然后有下面的提示:
Underfull \vbox (badness 1132) has occurred while \output is active
! I can't write on file `PHEV2.pdf'.
Please type another file name for output:
然后我还得手动关掉pdf
在你的 WinEdt 的安装目录下找到 \Exec\MiKTeX 子目录中的 PDFTeXify.edt
文件,用 WinEdt 打开,第 25 行为(我用的 WinEdt 版本是 5.4)
Exe('%b\Exec\Acrobat CloseDoc.edt');
它的功能就是自动关闭打开着的 pdf 文件,具体执行文件是 \Exec 子目录中
的 Acrobat CloseDoc.edt 文件。
确保这两个文件都是 WinEdt 的默认版本,并且安装在正确的目录下。 |
|
l***a 发帖数: 23 | 14 Anybody familiar with DDD Debugger?
im using it under solaris on an ultra10. i've compiled some codes into an exec
file, but the DDD doesn't recognize it as executable :(
The inferior debugger of DDD is gdb, which im not familiar with either :(
A collegue can run the same exec file using DDD under linux...
Anyone knows what i should do to make DDD accept exec files under solaris?
Thanks in advance!!!
555~~~, i've been tied up with these codes for too long... |
|
|
|
|
|
|
|
w*******y 发帖数: 60932 | 21 Canon Rebel XS 10.1MP Digital SLR Camera with 18-55mm IS & 55-250mm IS
Lenses + Tiffen 58mm UV Filter$965
$506.99 Free Shipping After Coupon & Rebate at Amazon.com posted about 2
hours ago
Use Amazon.com coupon code 5525OOCT during checkout.
Amazon is offering the lowest price we can find anywhere on this bundle.
Just the camera alone sells for $549.99 at Buy.com. If Amazon is not pre-
selected when you click through, look under more buying choices. Follow the
directions below to get this dea... 阅读全帖 |
|
|
|
|
|
|
|
y*****l 发帖数: 5997 | 28 F CEO insider buy.
Insider Trading Relationship Date Transaction Cost #Shares Value ($) #Shares
Total SEC Form 4
FORD WILLIAM CLAY JR Exec. Chairman and Chairman Nov 21 Buy 9.89 25,000 247,
250 4,040,154 Nov 22 03:58 PM
BOOTH LEWIS W K Executive Vice President Nov 17 Option Exercise 6.14 16,299
100,076 383,647 Nov 18 04:01 PM
Hockaday Irvine O Jr Director Nov 02 Buy 11.18 3,000 33,537 3,000 Nov 03 04:
01 PM
FORD WILLIAM CLAY JR Exec. Chairman and Chairman Sep 12 Buy 9.95 25,000 248,
750 4,015,15... 阅读全帖 |
|
|
d******x 发帖数: 11837 | 30 揣了揣真的可以work。。。
######################
catch {exec qstat -f} val1
if {[string match -nocase "*ERROR*" $val1]} {
puts "find error for exec..."
}
puts $val1
##########################
outputs on screen:
find error for exec...
error: commlib error: access denied (client IP resolved to host name "
einstein-a". This is not identical to clients host name "einstein")
error: unable to contact qmaster using port 536 on host "sgemaster"
keyword |
|
J**n 发帖数: 1224 | 31 你在DREAMING吧。在美国从你说的主要大公司的中下层管理,能升成这类公司顶级管理(
EXEC VP)以上的?无论哪国人都是基本不可能的,包括美国人。
美国500大公司的EXEC VP以上的人物,不是升起来,开PARTY开出来的,是生出来,结
婚结出来的。
看你写了一大段英语,却连这些基本知识都没有,还做着春秋大梦,实在是一件比较搞
笑的事情。
old traditional American companies, the people with a Chinese face are still
not welcome into the management team. The Americans just hold an inherent
distrust of the loyalty of the Chinese. This barrier kept many Chinese
people or ABCs from moving up. At the same time, Indians are much more
favored. Hollywood is one to bl... 阅读全帖 |
|
v*********u 发帖数: 10464 | 32 支持中国领导人用这种方式向外国企业收钱!多收点,不用客气,哈哈
出场价必须向巴菲特看齐?哈哈哈
Execs pay top dollar for audience with China's leaders
Execs pay top dollar for audience with China's leaders
POSTED: 19 Mar 2016 15:32 UPDATED: 19 Mar 2016 16:28
The CEOs of companies gather in Beijing for a pay-to-play event promising
audiences with China's top leadership AFP/Johannes Eisele
A
A
BEIJING: The China Development Forum this weekend may be the most important
economic summit you have never heard of.
The CEOs of companies rangin... 阅读全帖 |
|
发帖数: 1 | 33 来傻逼接着嘴硬
Donald Trump scolded media big shots during an off-the-record Trump Tower
sitdown on Monday, sources told The Post.
“It was like a fing firing squad,” one source said of the
encounter.
“Trump started with [CNN chief] Jeff Zucker and said, ‘I hate your network
, everyone at CNN is a liar and you should be ashamed,’ ” the source said.
“The meeting was a total disaster. The TV execs and anchors went in there
thinking they would be discussing the access they would get to the Trump
administra... 阅读全帖 |
|
x****6 发帖数: 4339 | 34 看百人会的名单,好像确实文艺和学术界的牛人多一点,政商界的差很多。
https://en.wikipedia.org/wiki/Committee_of_100_(United_States)
Kelly Cha, TV/radio host, singer-songwriter, author, educator (2010)
Chi-Foon Chan, President & co-CEO of Synopsys (2010)
Ed Chan, Vice Chair of Charoen Pokphand Group (2002)
Ronnie Chan, Chair of Hang Lung Properties (1998)
Tony F. Chan, President of Hong Kong University of Science and
Technology (2010)
David C. Chang, Prof. emeritus of the Polytechnic Institute of New York
U... 阅读全帖 |
|
|
|
|
|
|
|
a*********a 发帖数: 3656 | 41 你只会着一个debate trick吗?
前几天说AA,你也是唧唧歪歪,说什么AA就是那几个exec order,要反对,就反对那几
个exec order,反对什么学校录取,公司招聘都是不对的。
今天你来个要反对,就直接对"Black lives better"的口号,打出"All lives matter"
的口号就是不对的。
我就不明白了,我打个"All lives matter"的口号,你要反对,就反对“All lives
matter”这个口号。就直说“all lives matter"哪里错了,和“black life matter”
有什么矛盾? |
|
|
A**H 发帖数: 4797 | 43 Donald Trump scolded media big shots during an off-the-record Trump Tower
sitdown on Monday, sources told The Post.
“It was like a f–ing firing squad,” one source said of the encounter.
“Trump started with [CNN chief] Jeff Zucker and said ‘I hate your network,
everyone at CNN is a liar and you should be ashamed,’ ” the source said.
“The meeting was a total disaster. The TV execs and anchors went in there
thinking they would be discussing the access they would get to the Trump
administration, but... 阅读全帖 |
|
|
T**********e 发帖数: 29576 | 45 Terry Crews details alleged sexual assault by ‘high level’ Hollywood exec
“This whole thing with Harvey Weinstein is giving me PTSD. Why? Because
this kind of thing happened to ME…” Crews tweeted Tuesday. “My wife n I
were at a Hollywood function last year n a high level Hollywood executive
came over 2 me and groped my privates.”
Crews continued, “Jumping back I said What are you doing?! My wife saw
everything n we looked at him like he was crazy. He just grinned like a jerk
.”
The “Expendables”... 阅读全帖 |
|
a*****i 发帖数: 4391 | 46 According to a report from ABC News, President Obama is not taking kindly to
corporate greed, especially when it's funded by taxpayer money. Read more
from ABC here:
The high-flying execs at Citigroup caved under pressure from President
Obama and decided today to abandon plans for a luxurious new $50 million
corporate jet from France...
ABC News has learned that Monday officials of the Obama administration
called Citigroup about the company's new $50 million corporate jet and told
execs |
|
T*********c 发帖数: 388 | 47 You should buy at least Lux if not Exec. I have the Exec for a few weeks now
and I love it, especially the leather, interior, sound system and sun roof.
Why waste money on TDI? |
|
e***r 发帖数: 479 | 48 说实话,touareg lux 和 exec 是满豪华的,但是比起x5 premium还是差些,更别提
audi q5和 q7了。 我买touareg就是图他的地盘,engine, 和安全。要看豪华和操控,
我就等14 X5了。 而且,对我来说,touareg的天窗使得我的head room 太少了。 唯一
没有的功能是parking sensor了,为这个,去搞exec实在不值得。 |
|
T*********c 发帖数: 388 | 49 The 3-4k price difference in Sport-Navi V6 and TDI can be saved through MPG
and resale value. No doubt. But you underestimated the value that the Lux/
Exec trim provided. The sunroof and the leather seats are the most important
features.
Last weekend I parked the car, lowered the leather seats, listened to the
music through the Dynaudio system, watched the rain dropped on the full
sunroof, and did great things with lived one in the car. I guess I valued
these things much more than the 3k.
Agree ... 阅读全帖 |
|
T*********c 发帖数: 388 | 50 I bought my 2012 brand new gas Exec (21 miles) a month ago for 46250+TTL.
The dealer was firm at 47500 and I offered 45000. It was a different
situation Cruz they need to get rid of the inventory. Good luck with your
negotiation. The Exec trim is the best. You will love it everyday. |
|