how to run "select distinct field1..." on wondereware

tayfun

Member
Join Date
Aug 2009
Location
istanbul
Posts
15
Hello ,

I am working on wonderware intouch scada.
How can I use the distinct of select (select distinct field1 from table1 ) ?

because I don't want the same rows .

I am using the command below
SQLSelect( ConnectionId, "table1", "BL1", "", "" );

thanks everybody in advance..
 
Sorry, I have no idea of what WonderWare supports as far as SQL commands go, but if it can call stored procedures (or issue raw SQL commands), you should be able to do what you ask.
 
details

I have table1(pen,group) in deneme.mdb .
I only want to list different groups .
TABLE1
[pen] [group]
pen1 group1
pen2 group2
pen3 group1
pen4 group2

I couldn't write the distinct because I don't know where I can use it.
as you know "select distinct field1 from table1" is used this . and I have not found anything about distinct in documents of wonderware.


anyway,

Thanks you for your hot interest.
 
If you lookup the
SQLSetStatement()
command in the inTouch docs, There is an example on creating any kind of SQL query you could possibly want.
 

Similar Topics

I'm looking to get some spare keys for this PLC. Does anyone know a source or have a part number? My searches are turning up nothing at the moment.
Replies
1
Views
52
I have a few questions about Studio5000. 1. Why is my RA folder so big? its well over 100 GB. 2. How do you delete versions or extra files...
Replies
3
Views
267
Hello The plant is running and there is no shutdown nowadays therefore I can add 1734- AENTR and its card while PLC is in Run? I do not wanna...
Replies
8
Views
332
I have an issue with Power Flex 525 during running processing, the VFD stopped suddenly while the PLC and VFD connection ok, VFD does not have any...
Replies
1
Views
106
I am new In a CCW and as a beginner I am trying to learn programming but i am noticing that my CCW software is taking around 1 minute to download...
Replies
2
Views
96
Back
Top Bottom