cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1119
Views
0
Helpful
5
Replies

select problem with dbreader

GeorgeLarson
Level 1
Level 1

I am trying to execute a query via dbreader and everytime I input my sql statement, it gives me a error and changes the * to \*.

5 Replies 5

nhabib
Level 9
Level 9

If you are running LMS 2.2 (CS 2.2 + RME 3.5), backup up the following file:

NMSROOT/cgi-bin/dbadmin/pdbadmin/nph-dbreader.pl

Edit nph-dbreader.pl and insert the following line after line 50:

$stmt =~ s/\\//g;

That should take care of the issue you are running into.

Just to be sure I don't screw this up, what does line 50 say so I make sure I am in the right spot.

Looks like line 50 is:

$stmt = $input{'stmt'};

That worked. Thanks so much.

Glad I could help.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: