cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

What is wrong with the script?

tguo
4-Participant

What is wrong with the script?

I use postgreSQL to extract data as a datashape from the database. Everything seems OK. The columns from database are shown as follows:

WeChat Image_20170516163612.png

But when I write SQL script "select * from LiftStatus", Error happen

WeChat Image_20170516163817.png

What is the problem?

Thanks!

3 REPLIES 3
supandey
19-Tanzanite
(To:tguo)

Hi Tiantian, just to confirm did you save the Entity before testing the service?

tguo
4-Participant
(To:supandey)

Hi Sushant,

     I have saved Entity before testing the service.

     I also test the thingworx database and another imported database, they are all good in Thing->Services.

     I am thinking if there is special requirements in the tablespace the database lying in? Or something else? I am still trying.

tguo
4-Participant
(To:supandey)

Solved. I use pgAdmin III to construct database. So the sql script need to use "", like select * from "TableName".

Finally...

Top Tags