由买买提看人间百态

topics

全部话题 - 话题: procedure
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
y****i
发帖数: 2108
1
来自主题: WaterWorld版 - 肖传国的Xiao procedure
感兴趣的可以看看这个一年前的貌似中国人写的总结: What unregulated medicine
looks like: History of Xiao procedure
http://www.dailykos.com/story/2010/02/10/835322/-What-unregulat
medicine-looks-like:-History-of-Xiao-procedure
TUE FEB 09, 2010 AT 09:11 PM PST
What unregulated medicine looks like: History of Xiao procedure
byxgzFollow
ShareNew
PERMALINK 10 COMMENTS
The ability to pee on your own is something we take for granted. But
for a
large group of people, this is only a dream for them. They are the
patients
wit... 阅读全帖
C*****D
发帖数: 1299
2
来自主题: Medicalpractice版 - Dr.Xiao's procedure.
有空能否学些基本知识再来胡乱指控。 方粉尽可上水版胡编。除了中国所谓专家和几
篇letter to editors, 从来没有peer revie w paper 说肖有问题。
肖和peters倒是分别发文,还写书。还有cme course。
再去上网看许多美国病人的评价,有许多spina bifida patient supporting groups
支持clinical trials。去那些美国人网站去看手术后病人怎么评价方粪spam他们网站。
许多方粪拿着这篇2009的综述,断章取义或英文太差,或别有用心。把一篇比较中性的
文章说成停用肖手术。
贴下文,是为the silenced majority,没有对方粪教育的义务。
Editor: Alan R. Cohen, MD Spring 2009
Xiao Procedure
Jeffrey P. Blount, MD, and Gerald Tuite, MD
At the conclusion of the recent First World Congress on Spina Bifida
Research and C... 阅读全帖
P********R
发帖数: 1691
3
Oracle trigger procedure中生成的数据如何送到stored procedure中?
表orderitems有四列:orderid, detail, partid, qty.
比如在主程序中接收三个变量:
v_Orderid ORDERS.orderid%TYPE := &2;
v_Partid INVENTORY.partid%TYPE := &3;
v_Qty ORDERITEMS.qty%TYPE := &4;
然后用:
AddLineItemSP(v_Orderid, v_Partid, v_Qty);
语句激活stored procedure并将三个值赋给i_Orderid, i_partid, i_Qty:
CREATE OR REPLACE PROCEDURE AddLineItemSP (
i_Orderid IN ORDERITEMS.orderid %TYPE,
i_Partid IN ORDERITEMS.partid %TYPE,
i_Qt... 阅读全帖
y****i
发帖数: 2108
4
来自主题: WaterWorld版 - 肖传国的Xiao procedure
2011年1月的commentary review.
把结论部分给你摘出来:
The important message 。。。 is that the functional results 。。。are
less
favorable 。。。compared with the excellent reports of Xiao [1].
only one of eight sacral nerves innervating the bladder with at best
20–30%
of the total sacral parasympathetic outflow to the urinary bladder is
activated on stimulation for initiation of micturition.
The authors’ plea is noteworthy, to continue scientific evaluation of
the
risks and the benefits of this procedure before it may... 阅读全帖
h*****6
发帖数: 866
5
现在组的manager说的。
俺的工作涉及把TSQL stored procedure code转成PL SQL, 有的 TSQL stored
procedure 有两三千行代码,好几个TEMP tables, 如果PL SQL 不用TEMP table,就只
能用 Associative Array or nested table, 处理数据,最后写到表里,中间过程不用
TEMP table,都在memory内。
Stroed procedure 的功能就是把几个millions records 级别的表join在一起,做一些
很简单判别,加减,再写进原来的表或不同的表。
这样的stored procedure有20多个,用linux cron job,每晚跑一次。
如果PL SQL stored procedure 用TEMP table, 转变从TSQL到PLSQL就很容易。不用的
话,大的stored procedure还是挺complex的。
s*******1
发帖数: 92
6
来自主题: Database版 - 问一个store procedure 问题
My script is used to drop a database link from another schema. It works good.
---------------------------------------------------------
connect deploy/deploy@qa
CREATE OR REPLACE PROCEDURE misc.drop_db_link AS
BEGIN
EXECUTE IMMEDIATE 'drop database link link_name';
END drop_db_link;
/
BEGIN
misc.drop_db_link;
END;
/
BEGIN
EXECUTE IMMEDIATE 'drop procedure misc.drop_db_link';
END;
/
--------------------------------------------------------------
But, I want to make it cleaner. So I moved... 阅读全帖
z********0
发帖数: 9013
7
刚看到的,本来以为挂在单杠上,随便挂会就好了。
关键是,挂在上面,深呼吸,绷紧肌肉,HOLD, 放松 (和relaxed into stretch的方
法一样)
http://stronglifts.com/spinal-decompression-procedure-for-incre
Your spine gets a lot of compression from daily activities & strength
training:
Sitting on your chair for long periods
Heavy Front Squats
Heavy Deadlifts
The spinal decompression procedure increases your spinal health & mobility
by
restoring its original length.
Procedure for Spinal Decompressions. You’ll need a pull-up bar to perform
the sp... 阅读全帖
F*******n
发帖数: 89
8
Hi,
我现在做一个project。源代码丢在办公室的电脑上了。今天贴不了。
我的Java程序中connect到一个database,然后执行另外一个同学写的stored
procedure。这个stored procedure是update这个database中的一个table的。可是这个
stored procedure怎么也不work。而且也没有给出来任何出错信息。
用我的程序可以执行其他的query和stored procedure 的query(只要没有update的都
可以)。我确定这个也不是权限问题。
请问Java在执行一些有update的stored procedure是不是有些trick呢?谢谢大虾们指
点。
l******9
发帖数: 579
9
【 以下文字转载自 Database 讨论区 】
发信人: light009 (light009), 信区: Database
标 题: keep group of values of SQL procedure in one table
发信站: BBS 未名空间站 (Sat May 24 09:48:08 2014, 美东)
I need to print out a group of values from a procedure on SQL server 2008.
If I use select , it generated a distinct table into the result part of SQL
server 2008 managemetn studio every time the procedure is called.
i need to call the procedure in a loop. I want to print the values into one
table.
Thx!
while
begin
my_proce... 阅读全帖
l******9
发帖数: 579
10
【 以下文字转载自 Quant 讨论区 】
发信人: light009 (light009), 信区: Quant
标 题: SQL debug step into a store procedure from another one
发信站: BBS 未名空间站 (Mon Jun 30 11:04:12 2014, 美东)
I have to debug a store procedure on SQL server 2008 R2 on Microsoft sql
studio.
In my SQL query, I have to call two store procedures :
EXEC @return_value = [my_database].[dbo].[store_procedure1]
in [my_database].[dbo].[store_procedure1], I need to call another procedure:
execute @return_status = store_procedure2
in debu... 阅读全帖
j****l
发帖数: 6
11
来自主题: Database版 - stored procedure help Please.....
Thank you very much. The stored procedure works.
But my main problem is that I am using this stored procedure in ASP.NET.
My goal for database access is that only ASPNET account can execute the stored
procedure. NO other permission allowed in this web-database connection. When I
use your stored procedure and mine, the select permission of book have to be
granted which is not what I want.
I am implementing a mulitple parameter query on the web with three text
fields. User can search by one parame
o****e
发帖数: 916
12
来自主题: Database版 - SQL server stored procedure 求助
有一个很奇怪的数据库问题,还望高手相助。
数据库运行在web 服务器上,有一个stored procedure用来在user table生成新条目。
user table结构也很简单,主要的两个field是id和name,ID是一个identity field,
数据库自动生成的int。name是字符串,unique
stored procedure 如下:
=====================================
ALTER PROCEDURE [dbo].[AddUser]
@Name nvarchar(50),
@ID int out
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
-- Insert statements for procedure here
insert into Customer... 阅读全帖
P***n
发帖数: 174
13
最近才开始学习SQL把,基本的去w3cschool等几个网站上搞清楚了
现在开始学stored procedure
发现http://www.boobooke.com/bbs/thread-272667-1-1.html (播布客)的oracle的这一套视频非常强大,但是我想学的是T-SQL的,找了下,网上也搜索了下,要么就是很基本的T-SQL的教程,我都会了,要么就是针对某个具体问题的Stored procedure的某个人的博客的讲解。
请问有没有比较系统的T-SQL stored procedure的教程?书籍和网络视频都行
我想学的几个方面是
1. scheduled job with notificaitons, alerts, including data ETL,
generating reports,
2. scheduled backup, mirroring, and replication
我也不是太懂,有些术语乱写的,大概就是这一类的自动化作业相关的Stored
procedure
麻烦各位推荐下把
C********r
发帖数: 145
14
来自主题: Database版 - Recompile SQL Server Store procedure
Yesterday, the system constantly hang up due to database time out. The
solution was to recompile the timed out store procedure.
And then it was discovered there was a job in previous version to recompile
this store procedure regularly which got left out in the new version.
I wonder when do we need to recompile a store procedure? Can the DaNiu here
help to explain when we should expect to recompile a store procedure
regularly(when table structure/index not changing)?
O***T
发帖数: 124
15
来自主题: Database版 - DB2 Stored Procedure Error Handler
我现在有一个很简单的stored procedure in db2
create or replace procedure P_1()
begin
insert into table_A ( column1,column2)
select a,b
from table_b;
end;
为了防止这个procedure fail(比如table_b不存在之类的情况...),我想放一个error
handler在这个statement里面,我不在乎到底是什么error,只要上面那个Insert
statement fail了(或者说这个sp fail了?),就往另外一个table添加一条类似Log
的记录Insert into table_c (column1,column2) values (P_1,current date)
想请教各位大牛这个code我该怎么写,从来没写过error handler的东西,网上查了很
久,仍旧是一片雾水,连应该放在这个insert statement前面还是后面还是专门写一个
error handler的sp都没想明白。
另外,因为工作关系,现在开始接触... 阅读全帖
l******9
发帖数: 579
16
【 以下文字转载自 Quant 讨论区 】
发信人: light009 (light009), 信区: Quant
标 题: SQL debug step into a store procedure from another one
发信站: BBS 未名空间站 (Mon Jun 30 11:04:12 2014, 美东)
I have to debug a store procedure on SQL server 2008 R2 on Microsoft sql
studio.
In my SQL query, I have to call two store procedures :
EXEC @return_value = [my_database].[dbo].[store_procedure1]
in [my_database].[dbo].[store_procedure1], I need to call another procedure:
execute @return_status = store_procedure2
in debu... 阅读全帖
l******9
发帖数: 579
17
【 以下文字转载自 Quant 讨论区 】
发信人: light009 (light009), 信区: Quant
标 题: SQL debug step into a store procedure from another one
发信站: BBS 未名空间站 (Mon Jun 30 11:04:12 2014, 美东)
I have to debug a store procedure on SQL server 2008 R2 on Microsoft sql
studio.
In my SQL query, I have to call two store procedures :
EXEC @return_value = [my_database].[dbo].[store_procedure1]
in [my_database].[dbo].[store_procedure1], I need to call another procedure:
execute @return_status = store_procedure2
in debu... 阅读全帖
s*******8
发帖数: 118
18
来自主题: MedicalCareer版 - 小议procedures(TLC,A-line...)
一般每个program在毕业前都会要求resident完成些procedure.比如我们这里5个IJ,5个
A-line,5个胸穿,5个腰穿,3个腹穿,3个关节穿刺和5个pap smear.
建议刚开始的intern们作procedure前,一定要看好NEJM的录像,讲的简明易懂。下面
只是本人的一点体会,希望大家一起讨论。
先讲讲central line,只是在ICU必做的procedure,分为femoral,IJ,subclavian,因为
femoral line的高感染率,除了紧急情况,一般不会首选,我本人比较喜欢IJ,特别是
有超声波,成功率超过90%。无论做那种作之前都要摆好病人体位,找一个自己最舒服
的姿势,刚开始最爱忘的是saline flush,最好和护士和你的上级事先讲好,不要等到
换好衣服后才想起来。我的习惯是做procedure前把needle,guidewire都从kit里拿出来
按顺序摆放好,做完后第一件事就是扔掉所有的sharps.如果不养成好的习惯,很容易
被针扎到。如果你的senior是个急性子,你也要沉住气。越是紧张越容易出事。
关于IJ的并发症主
l******9
发帖数: 579
19
【 以下文字转载自 Database 讨论区 】
发信人: light009 (light009), 信区: Database
标 题: keep group of values of SQL procedure in one table
发信站: BBS 未名空间站 (Sat May 24 09:48:08 2014, 美东)
I need to print out a group of values from a procedure on SQL server 2008.
If I use select , it generated a distinct table into the result part of SQL
server 2008 managemetn studio every time the procedure is called.
i need to call the procedure in a loop. I want to print the values into one
table.
Thx!
while
begin
my_proce... 阅读全帖
t*****8
发帖数: 157
20
来自主题: Statistics版 - 请问一个有关procedure的问题
谢谢解答。
我现在需要找到有关某个疾病的所有的procedure, 包括inpatient和outpatient的。都
需要我自己找。我不是学医的。所以有点不清楚。
如果要找inpatient的procedure是不是找:ICD-9 PROCEDURE和HCPCS
如果要找outpatient的procedure是不是找:CPT和HCPCS?
谢谢
l******9
发帖数: 579
21
【 以下文字转载自 Database 讨论区 】
发信人: light009 (light009), 信区: Database
标 题: keep group of values of SQL procedure in one table
发信站: BBS 未名空间站 (Sat May 24 09:48:08 2014, 美东)
I need to print out a group of values from a procedure on SQL server 2008.
If I use select , it generated a distinct table into the result part of SQL
server 2008 managemetn studio every time the procedure is called.
i need to call the procedure in a loop. I want to print the values into one
table.
Thx!
while
begin
my_proce... 阅读全帖
Y***u
发帖数: 412
22
来自主题: Military版 - Application Procedure
The next meeting of the NED Board of Directors for which NED is accepting
proposals will be on April 1, 2011.
All grant applications must be submitted by January 21, 2011 to be
considered for approval at the April Board Meeting.
The NED is no longer accepting proposals for the Board Meeting of January 14
, 2011.
How are funding decisions made?
Funding decisions are made on a quarterly basis by the NED Board of
Directors. In addition to evaluating how a program fits within the Endowment
's overal... 阅读全帖
l******9
发帖数: 579
23
来自主题: JobHunting版 - run SQL stored procedure from python (转载)
【 以下文字转载自 Database 讨论区 】
发信人: light009 (light009), 信区: Database
标 题: run SQL stored procedure from python
发信站: BBS 未名空间站 (Sat Aug 2 20:53:01 2014, 美东)
I need to run a SQL server 2008 R2 stored procedure from Eclipse pydev with
python 3.2 on win 7. If I run the stored procedure from management studio,
it works well.
But, if I run it from ptython , it does not work.
sql_str_test = """
DELETE FROM [my_db].[dbo].[my_table] -- this line works
EXEC [my_db].[dbo].[m... 阅读全帖
Z******a
发帖数: 1178
24
The primary reason that Judge Hanen halted the executive actions was that
he found that the administration hadn't properly followed the Administrative
Procedures Act — which sets the typical procedure for making federal
regulations. According to Cecilia Wang, Director of the Immigrant Rights
Project for the ACLU, Hanen's ruling says that "if (the government) wanted
to do these things, it should have provided notice in the Federal Register,
with period for comment." But because the Obama administ... 阅读全帖
a**k
发帖数: 29
25
来自主题: Database版 - Help:java call oralce stored procedure
I am a new beginner in JDBC and Oracle stored procedures. Would you please
help me
to solve the following practical question?
There is a table:
emp: fname, lname, dept, gender
if I want to select:
select * from emp where gender='m';
1. How could I write oracle stored procedure/function?
2. How could I writeJDBC to call stored procedure/function? I want to use
CallableStatement and ResultSet.
y********o
发帖数: 2565
26
我学PL/SQL不顺,觉得网上查到的材料要么太过简单(如:Hello, Welcome to PL/SQL之类)或者就是太晦涩。
(话说回来,我也没太认真学。)
问题1:
经常看到Stored Procedure的script里面有Is或者As, 搞不懂什么区别。这2个字通常又不能当关键字给goole搜索。
比方说
create or replace procedure myprocedure
is

create or replace procedure myprocedure
as
到底什么区别?
问题2:我想给经常做这个:
select owner, object_name, object_type, status
from all_objects
where owner='&1'
and object_name not like 'BIN%'
and object_name not like 'SYS%'
and object_name not like 'EUL%';
就好比在Unix下做 ls -l 一样。
每次都type这么繁琐的语句不是很不智吗?
不能将这个做成一个s
x***e
发帖数: 2449
27
In SQL server:
1) default way
Build a meta table stores the information you want.
Write logging stored procedured inside your stored procedure to provide
detailed logging.
Run another job at the same time or use DTS/SSIS to scan the meta table and
logging, then send you an result email once a while or after certain steps
etc.
All can be done just inside the SQL server. no extra c# is required.
2) easy way
just email out the temp result directly with the sp_send_cdosysmail stored
procedure with i
E**i
发帖数: 116
28
☆─────────────────────────────────────☆
yiyayiyayo (Mera naam Itiaan hai) 于 (Sat Apr 28 02:53:09 2007) 提到:
我学PL/SQL不顺,觉得网上查到的材料要么太过简单(如:Hello, Welcome to PL/SQL之类)或者就是太晦涩。
(话说回来,我也没太认真学。)
问题1:
经常看到Stored Procedure的script里面有Is或者As, 搞不懂什么区别。这2个字通常又不能当关键字给goole搜索。
比方说
create or replace procedure myprocedure
is

create or replace procedure myprocedure
as
到底什么区别?
问题2:我想给经常做这个:
select owner, object_name, object_type, status
from all_objects
where owner='&1'
and object_name not like 'BIN%'
and ob
l******9
发帖数: 579
29
I need to print out a group of values from a procedure on SQL server 2008.
If I use select , it generated a distinct table into the result part of SQL
server 2008 managemetn studio every time the procedure is called.
i need to call the procedure in a loop. I want to print the values into one
table.
Thx!
while
begin
my_procedure()
end
my_procedure()
# do something
select value1, value2, value3
i need to keep the
value1, value2, value3
in one single table after the loop is don... 阅读全帖
l******9
发帖数: 579
30
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: get value returned by SQLstored procedure from python
发信站: BBS 未名空间站 (Fri Aug 1 18:07:59 2014, 美东)
I need to check the returned value from a stored procedure on SQL server
2008 R2.
import pyodbc
sql_str = """
DECLARE @return_value int
SET @return_value = -1
INSERT INTO [my_database].[dbo].[my_table]
EXEC @return_value = [my_database].[dbo].[my_stored_
proce... 阅读全帖
w******n
发帖数: 692
31
Maybe you could run the stored procedure through sqlplus. If failed and you
have the source code of the stored procedure, You may add some DBMS_OUTPUT
there to debug the stored procedure.
B*****g
发帖数: 34098
32
This test was designed to compare the execution time of dynamically
generated SQL select statements and the equivalent stored procedures from
within a .NET framework application. Single select statements are often used
in stored procedures to retrieve data. This article does not test the used
of complex stored procedures where multiple statements are executed on the
server.

别。
c**d
发帖数: 3888
33
来自主题: Law版 - i want to learn law procedure
Every state has its own unique procedures. The federal courts also has its
own procedural system.
Do you want to learn a particular state's, or the federal procedure?
At any rate, if you just want to learn some basics, then the federal sytem
should suffice. Glannon's Example & Explanation (E&E) is a well known
hornbook. You can find it at any law bookstore or online. Don't get a
casebook -- you'd feel hopelessly lost.
l******9
发帖数: 579
34
I have to debug a store procedure on SQL server 2008 R2 on Microsoft sql
studio.
In my SQL query, I have to call two store procedures :
EXEC @return_value = [my_database].[dbo].[store_procedure1]
in [my_database].[dbo].[store_procedure1], I need to call another procedure:
execute @return_status = store_procedure2
in debugging mode of SQL server management studio, I can step into [store_
procedure1] but, I cannot step into [store_procedure2].
Any help would be appreciated.
l******9
发帖数: 579
35
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: get value returned by SQLstored procedure from python
发信站: BBS 未名空间站 (Fri Aug 1 18:07:59 2014, 美东)
I need to check the returned value from a stored procedure on SQL server
2008 R2.
import pyodbc
sql_str = """
DECLARE @return_value int
SET @return_value = -1
INSERT INTO [my_database].[dbo].[my_table]
EXEC @return_value = [my_database].[dbo].[my_stored_
proce... 阅读全帖
l******9
发帖数: 579
36
【 以下文字转载自 Database 讨论区 】
发信人: light009 (light009), 信区: Database
标 题: run SQL stored procedure from python
发信站: BBS 未名空间站 (Sat Aug 2 20:53:01 2014, 美东)
I need to run a SQL server 2008 R2 stored procedure from Eclipse pydev with
python 3.2 on win 7. If I run the stored procedure from management studio,
it works well.
But, if I run it from ptython , it does not work.
sql_str_test = """
DELETE FROM [my_db].[dbo].[my_table] -- this line works
EXEC [my_db].[dbo].[m... 阅读全帖
P****D
发帖数: 11146
37
来自主题: Statistics版 - SAS MACRO和Procedure
You are right about that SAS procedure cannot be created by user. However, a
macro is just a bunch of procedures. It does not NECESSARILY help you
implement any logic.
I suggest you find a sample macro and a sample procedure and show them to
your LD. These two concepts are truly straightforward once you see examples,
but also impossible (I think) to explain just with words...

least
use
e***7
发帖数: 862
38
来自主题: Medicalpractice版 - Dental implant一系列procedure的费用
门牙被撞到,一年前咨询了几个牙医,说是最后得implant。一年多也没事,但情况在恶
化。现在参加工作有Aetna PPO的保险。
今天去了一家innetwork的诊所,检查下来确实做implant的好,医生是个50多岁的白人
,把我refer到另外一个医生做implant,其余的procedure 他来做。
在谈费用的时候问题来了,implant只报50%我没意见,但其它的
procedure 比如crown也只能报50%,说是dental implant crown和普通的crown不一样
,普通的crown可以报80%,dental implant crown只能50%, 我是第一次也不了解情
况,这个合理不?
我看了下可能总共费用4-6K了,有没有可能把费用降下来?
Update:医生说我的情况是textbook procedure,所以有人建议我去学校牙学院的
牙周科找2,3年的住院生会便宜很多,2300全部,保险貌似可以报一半,这样下来就很
便宜了。。
那这样做有没有什么不好的地方?
l******9
发帖数: 579
39
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: get value returned by SQLstored procedure from python
发信站: BBS 未名空间站 (Fri Aug 1 18:07:59 2014, 美东)
I need to check the returned value from a stored procedure on SQL server
2008 R2.
import pyodbc
sql_str = """
DECLARE @return_value int
SET @return_value = -1
INSERT INTO [my_database].[dbo].[my_table]
EXEC @return_value = [my_database].[dbo].[my_stored_
proce... 阅读全帖
l******9
发帖数: 579
40
【 以下文字转载自 Database 讨论区 】
发信人: light009 (light009), 信区: Database
标 题: run SQL stored procedure from python
发信站: BBS 未名空间站 (Sat Aug 2 20:53:01 2014, 美东)
I need to run a SQL server 2008 R2 stored procedure from Eclipse pydev with
python 3.2 on win 7. If I run the stored procedure from management studio,
it works well.
But, if I run it from ptython , it does not work.
sql_str_test = """
DELETE FROM [my_db].[dbo].[my_table] -- this line works
EXEC [my_db].[dbo].[m... 阅读全帖
l****z
发帖数: 29846
41
By STAFF, Associated Press
November 29, 2011

CHARLESTON, W.Va. (AP) — A new report says some mine operators are avoiding
paying fines for safety violations because the Mine Safety and Health
Administration's collection system is flawed.
The report by the U.S. Department of Labor's Office of Inspector General
says MSHA has failed to finalize policies and procedures designed to
identify "scofflaw violators."
The report also says MSHA's debt collection information is unreliable
because the agen... 阅读全帖
w***7
发帖数: 1637
42
【 以下文字转载自 Medicine 讨论区 】
发信人: wk007 (无), 信区: Medicine
标 题: 保险说procedure 是experimental 不愿付钱
发信站: BBS 未名空间站 (Sat Jul 30 11:22:06 2016, 美东)
生小孩住院,有三个procedure,其中两个是transcranial doppler ultrasonography,
总共1000 多,保险说是experimental, 不愿付钱,怎么破?
l******9
发帖数: 579
43
【 以下文字转载自 Database 讨论区 】
发信人: light009 (light009), 信区: Database
标 题: SQL run a stored procedure by fetching from a cursor row by row
发信站: BBS 未名空间站 (Fri May 23 17:57:23 2014, 美东)
I need to run a stored procedure on SQL server 2008.
But, I can only fetch one row from the cursor. After that, the @@FETCH_
STATUS is -1.
DECLARE @my_table TABLE
(
code int not null
);
INSERT INTO @my_table (id)
SELECT DISTINCT a.id
FROM table1 as a
WHERE a.value = 'abc'
ORDER BY a.id A... 阅读全帖
l******9
发帖数: 579
44
I need to check the returned value from a stored procedure on SQL server
2008 R2.
import pyodbc
sql_str = """
DECLARE @return_value int
SET @return_value = -1
INSERT INTO [my_database].[dbo].[my_table]
EXEC @return_value = [my_database].[dbo].[my_stored_
procedure]
if @return_value <> 0
BEGIN
EXEC sys.sp_addmessage 60000, 16, ' test sp returns
wrong code ! '
... 阅读全帖
w***7
发帖数: 1637
45
【 以下文字转载自 Medicine 讨论区 】
发信人: wk007 (无), 信区: Medicine
标 题: 保险说procedure 是experimental 不愿付钱
发信站: BBS 未名空间站 (Sat Jul 30 11:22:06 2016, 美东)
生小孩住院,有三个procedure,其中两个是transcranial doppler ultrasonography,
总共1000 多,保险说是experimental, 不愿付钱,怎么破?
e***7
发帖数: 862
46
来自主题: Medicine版 - Dental implant一系列procedure的费用
门牙被撞到,一年前咨询了几个牙医,说是最后得implant。一年多也没事,但情况在恶
化。现在参加工作有Aetna PPO的保险。
今天去了一家innetwork的诊所,检查下来确实做implant的好,医生是个50多岁的白人
,把我refer到另外一个医生做implant,其余的procedure 他来做。
在谈费用的时候问题来了,implant只报50%我没意见,但其它的
procedure 比如crown也只能报50%,说是dental implant crown和普通的crown不一样
,普通的crown可以报80%,dental implant crown只能50%, 我是第一次也不了解情
况,这个合理不?
我看了下可能总共费用4-6K了,有没有可能把费用降下来?
D*********s
发帖数: 81
47
USCIS, in coordination with Department of State (DOS), is revising the
procedures for determining visa availability for applicants waiting to file
for employment-based or family-sponsored preference adjustment of status.
The revised process will better align with procedures DOS uses for foreign
nationals who seek to become U.S. permanent residents by applying for
immigrant visas at U.S. consulates and embassies abroad.
This revised process will enhance DOS’s ability to more accurately predict
ov... 阅读全帖
p*********e
发帖数: 17
48
Hi, Friends.
My PERL script is written in Object Oriented Programming
style; it called another perl script which is written in procedure style.
However, it failed. I guess if the reason is about the compatibility of
the 2 programming styles.
I wonder if both script must be written in same programming style: either
procedure or OO?
Thanks a lot!
p******a
发帖数: 4
49
来自主题: Database版 - Stored Procedure?
数据库APPLICATION PROGRAMMING,比如C程序调用SQL,
只用STORED PROCEDURE,够不够?
我的意思是程序中不出现SELECT 。。。,一切数据库操作都是
对STORED PROCEDURE的调用,可不可以?会有什么问题?
请高手指教
a*****i
发帖数: 4391
50
来自主题: Database版 - Stored Procedure?

Depends on what you need them for.
1: If you need a lot of interactive actions between your database and the
server, it is better to write the application in C/Perl/Java/whatever
language you are familiar with.
2: Otherwise, stored procedure runs faster. I dont know about in other DBs,
but Oracle's store procedure has a pretty well defined control structure in
which you can pretty much do everything you need to do .
3: You can not have DDL in stored proecedure body. That is a drawback.
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)