![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Does anybody know if theres a way that you can send sql queries straight to pervasive through a simple cli command? For example in mySql you can just do "mySQL" from the command line then login and it drops you at the "sql>" prompt. You can then just type your queries and the results spewed out to the dos window. Can you do this in pvsw? |
#2
| |||
| |||
|
|
Does anybody know if theres a way that you can send sql queries straight to pervasive through a simple cli command? For example in mySql you can just do "mySQL" from the command line then login and it drops you at the "sql>" prompt. You can then just type your queries and the results spewed out to the dos window. Can you do this in pvsw? |
#3
| |||
| |||
|
|
Does anybody know if theres a way that you can send sql queries straight to pervasive through a simple cli command? For example in mySql you can just do "mySQL" from the command line then login and it drops you at the "sql>" prompt. You can then just type your queries and the results spewed out to the dos window. Can you do this in pvsw? |
#4
| |||
| |||
|
|
Hi Bill, A trial copy would be great, we'll give it a spin. thanks Glyn Bill Bach wrote: seetickets wrote: Does anybody know if theres a way that you can send sql queries straight to pervasive through a simple cli command? For example in mySql you can just do "mySQL" from the command line then login and it drops you at the "sql>" prompt. You can then just type your queries and the results spewed out to the dos window. Can you do this in pvsw? If you have Pervasive PSQL v9, the include PVDDL tool should be sufficient to send DDL statements (i.e. statements that don't return any data) to the database. This is what Pervasive's own installer uses to build the DEMODATA database. Our SQLExec tool is a Win32 Command-Line application that can handle sending statements to the SQL engine (actually, to ANY ODBC interface). It's not dynamic like your request, but the PCC allows you to do dynamic SQL much more simply, so I've just never developed that feature of it. Let me know if you're interested in a trial copy. Goldstar Software Inc. Pervasive-based Products, Training & Services Bill Bach BillBach (AT) goldstarsoftware (DOT) com http://www.goldstarsoftware.com *** Chicago: Pervasive Service & Support Class - 10/2006 *** |
![]() |
| Thread Tools | |
| Display Modes | |
| |