Comments (6)
Please, build small program to demonstrate, Something I can reproduce here.
Would be nice if you follow this:
>>
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
Please use labels and text to provide additional information.
>>
Thank you.
Alex
Original comment by [email protected]
on 13 Jun 2014 at 3:51
- Changed state: WaitingForReply
from odbc.
the example please see the file
Original comment by [email protected]
on 13 Jun 2014 at 7:46
Attachments:
from odbc.
I will try it. Thank you.
Alex
Original comment by [email protected]
on 14 Jun 2014 at 2:19
- Changed state: New
from odbc.
Zuggie.Zhu,
I just added new TestMSSQLExecStoredProcedure
https://codereview.appspot.com/106030043 to demonstrate how to call stored
procedure. I think it should cover your scenario. I'm closing this issue.
Please, let me know, if you think there is more to your problem. Thank you.
Alex
Original comment by [email protected]
on 16 Jun 2014 at 3:19
- Changed state: Fixed
from odbc.
alex,I found the root cause, I write the store procedure like this:
begin try
begin tran
......
end tran
end try
begin catch
rollback tran
end catch
when I use program call it,it can't run,so I modify it like this:
begin tran
......
if @@error<>0
begin
rollback tran
end
commit tran
end tran
now it can running.
Original comment by [email protected]
on 16 Jun 2014 at 7:52
from odbc.
Glad you have found your problem.
Alex
Original comment by [email protected]
on 16 Jun 2014 at 10:31
from odbc.
Related Issues (20)
- DB2 on Windows Server 2012 R2 connect but truncate data retreived HOT 1
- DB2 for i: Simple select with empty ResultSet locks table HOT 1
- Compile errors when building from Windows OS with GOOS=linux HOT 2
- an error of SQL syntax error HOT 1
- Panic when binding `varchar`/`string` types: slice bounds out of range [:668] with capacity 256 HOT 3
- memory leak using rows.next() HOT 7
- signal 13 received but handler not on signal stack HOT 4
- Low max message length HOT 3
- Add tags to the repo HOT 1
- Implement QueryerContext interface HOT 1
- Implement RowsColumnTypeDatabaseTypeName HOT 1
- error when build from linux HOT 2
- only half of unicode string is inserted.
- Issue with Unixodbc-2.3.7 for master and for_issue_88 branch HOT 1
- 向 varchar字段保存中文中会被截断 HOT 8
- Maintain releases HOT 5
- The package is returning a panic instead of an error HOT 4
- Issues with parametrized queries Windows/DuckDB HOT 2
- abount microsoft access long binary data type HOT 1
- Unrecognized Data Type on Column
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odbc.