Ingres Community Forums Login Register Ingres.com  

Ingres Community Forum


Go Back   Ingres Community Forums > Ingres Forums > Database Drivers and APIs
 

Reply
 
LinkBack Thread Tools Display Modes
Old 2008-10-27   #1 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 4
Default Visual Studio 2008 New Query in Server Explorer doesnt show all fields

Hi

We're using Ingres 2.6 in our company and to access the data from VS2008 i'm using the driver from ingres2006-9.2.0-134-gpl-win-x86-DotNet.zip. It works well till the part where i list all fields from a table in a new query. I only see mostly 1 field.

Is the driver i'm using the wrong one or i missed some settings?
syslock is offline   Reply With Quote
Old 2008-10-27   #2 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: Medfield, Massachusetts, USA
Posts: 191
Default

Hi Syslock,

Are you saying that the VS2008 Query Designer is listing just one column in the checkbox list?

Dave
thoda04 is offline   Reply With Quote
Old 2008-10-28   #3 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 4
Default

yes, just one column
syslock is offline   Reply With Quote
Old 2008-10-28   #4 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: Medfield, Massachusetts, USA
Posts: 191
Default

I have not been able to duplicate the behavior. What is the file version of the Ingres.Client.dll file on your system?

Can you post a copy of your CREATE TABLE syntax so that I can try to duplicate with your table definition?

Thanks,
Dave
thoda04 is offline   Reply With Quote
Old 2008-10-28   #5 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 4
Default

file version is 2.0.920.11 and the create table syntax is:

CREATE TABLE mandant (
firma VARCHAR(2) NOT NULL,
werk VARCHAR(5) NOT NULL,
personal_nummer VARCHAR(10),
partner_id VARCHAR(6) NOT NULL,
beschrieb VARCHAR(50),
edat TIMESTAMP,
mdat TIMESTAMP,
benutzer VARCHAR(10)
);
syslock is offline   Reply With Quote
Old 2008-10-28   #6 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: Medfield, Massachusetts, USA
Posts: 191
Default

Still works for me. Test used Server Explorer -> right-click on the Data Connection -> New Query. Attached is the screen shot.

Dave
Attached Images
File Type: png VS2008QueryBuilder.PNG (8.0 KB, 7 views)
thoda04 is offline   Reply With Quote
Old 2008-10-28   #7 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: Medfield, Massachusetts, USA
Posts: 191
Default

Don't know if it will make any difference, but do you have VS2008 Service Pack 1 installed?

Dave
thoda04 is offline   Reply With Quote
Old 2008-10-29   #8 (permalink)
Senior Member
 
Join Date: Mar 2007
Location: Medfield, Massachusetts, USA
Posts: 191
Default

I'm assuming that you are using a 9.2 database server, or are you using the 2.6 database server? I'm also assuming that your DAS server is also from 9.2.

Dave
thoda04 is offline   Reply With Quote
Old 4 Weeks Ago   #9 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 4
Default

We're using ingres 2.6
syslock is offline   Reply With Quote

Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


© 2009 Ingres Corporation. All Rights Reserved