in reply to Re: Perl DBI issue
in thread Perl DBI issue
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl DBI issue
by izut (Chaplain) on Mar 14, 2007 at 15:13 UTC | |
Why don't you just show the code you are using? If you do that, I bet a lot of people will try to help you to figure that out. If you don't help people to understand your problem and give them any resources for doing that, then you are lost. As I said before on CB, try to help the others to help you. You will learn more, the others will be satisfied to help you. Try to fix your position while people are still complaining about you, be worried when people just start to ignore you. Going back to your problem, your code is executed from a Linux box or a Windows box? I understand that you're trying to reach a SQL Server 2000, but what about the client? Another point, the DSN is usually the first argument for DBI::connect(). For exemple, when using a SQLite database, your DSN will probably looks like dbi:SQLite:dbname=my.db. The DBD driver you'll be using will be the thing between the :. Now, what are you using as DSN to connect the database and what is the operational system where the script is running?
Igor 'izut' Sutton | [reply] [d/l] [select] |
| |
|
Re^3: Perl DBI issue
by Jenda (Abbot) on Mar 14, 2007 at 16:28 UTC | |
So I scaned all your other posts in this thread and all I found was that you said in the root one that you are using MS SQL Server 2000 (I admit asking you for the value of @@VERSION would be pointless, there is no need for that level of detail in this case) and ... in one of the responses ... that you are using DBD::ODBC. I asked you to tell us the VERSIONS of the modules! And ... guess what ... they are nowhere to be found in the whole thread. Maybe the bug (if there is any) was alerady fixed in a newer version than the one you have. Maybe not, but how do we know? BTW, want some code? OK If you want to use placeholders for OUTPUT parameters than that's a bit more complex. You have to use bind_param_inout() for that, something like:
Does this help? | [reply] [d/l] [select] |