<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Create Logs from data held in another SQL Database</title><link>https://communities.bentley.com/products/geotechnical1/f/geotechnical-forum/153309/create-logs-from-data-held-in-another-sql-database</link><description>Does anyone know if it is possible for gINT to generate logs using data from another SQL Database via some kind of direct link. Or to generate logs, does it have to be referencing data held in a .gpj or a Professional Plus SQL Database?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Create Logs from data held in another SQL Database</title><link>https://communities.bentley.com/thread/537313?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2019 00:43:22 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:41ddfb0d-575b-4532-bc0d-16763201f08b</guid><dc:creator>James Elvy</dc:creator><description>&lt;p&gt;Discovered the SQL wrapper.&lt;/p&gt;
&lt;p&gt;This works:&amp;nbsp;&amp;lt;&amp;lt;Sql(Select count([VW_POINT].[PointID]) FROM [VW_POINT])&amp;gt;&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create Logs from data held in another SQL Database</title><link>https://communities.bentley.com/thread/537303?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 21:12:31 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:523e56e1-6a88-4b15-b6eb-12727fa27df2</guid><dc:creator>James Elvy</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using gINT professional plus with an upsized enterprise database on SQL express.&lt;/p&gt;
&lt;p&gt;I am trying to build a &amp;#39;Text Docs&amp;#39; report.&lt;/p&gt;
&lt;p&gt;The report works fine&amp;nbsp;if I query a table i.e. something like&amp;nbsp;&amp;lt;&amp;lt;Count(&amp;lt;&amp;lt;POINT.PointID&amp;gt;&amp;gt;)&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;However, I cannot seem to query a view.&amp;nbsp; For proof on concept I made a view of the POINT table using&amp;nbsp;SQL management studio named VW_POINT&lt;/p&gt;
&lt;p&gt;Case 1: Simple view queried using&amp;nbsp;&lt;span&gt;&amp;lt;&amp;lt;Count(&amp;lt;&amp;lt;VW_POINT.PointID&amp;gt;&amp;gt;)&amp;gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Case 2: view with schema binding i.e. dbo.VW_POINT queried using&amp;nbsp;&amp;lt;&amp;lt;Count(&amp;lt;&amp;lt;VW_POINT.PointID&amp;gt;&amp;gt;)&amp;gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Case 3: view with schema binding i.e. dbo.VW_POINT&amp;nbsp;and unique index on GintRecID q&lt;/span&gt;&lt;span&gt;ueried using&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;lt;&amp;lt;Count(&amp;lt;&amp;lt;VW_POINT.PointID&amp;gt;&amp;gt;)&amp;gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Case 4:&amp;nbsp;&lt;span&gt;view with schema binding i.e. dbo.VW_POINT&amp;nbsp;and unique index on GintRecID and unique clustered index on (gINTProjectID, PointID) q&lt;/span&gt;&lt;span&gt;ueried using&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;lt;&amp;lt;Count(&amp;lt;&amp;lt;VW_POINT.PointID&amp;gt;&amp;gt;)&amp;gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;None of the above cases are returning results.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So my question is can we&amp;nbsp;build reports by querying&amp;nbsp;views? If so any pointers would be appreciated.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Final point, I noted there is a view generated in the gINT enterprise database called dbo.gINT_GIS so i am guessing that is used by GIS tools and not queried by gINT professional plus?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you and kind regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;James&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create Logs from data held in another SQL Database</title><link>https://communities.bentley.com/thread/458375?ContentTypeID=1</link><pubDate>Tue, 01 May 2018 15:26:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:41e676c6-344e-405a-a179-5b47f978e35c</guid><dc:creator>Paul Chaplin</dc:creator><description>&lt;p&gt;Thanks for letting me know Kirk.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create Logs from data held in another SQL Database</title><link>https://communities.bentley.com/thread/458374?ContentTypeID=1</link><pubDate>Tue, 01 May 2018 15:22:43 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:05b254d1-7d5a-40bc-8ab9-4ff0b148b726</guid><dc:creator>Kirk Johnson</dc:creator><description>&lt;p&gt;Hi Paul,&lt;/p&gt;
&lt;p&gt;A data link was the only way to get data from a SQL database into gINT many years ago.&amp;nbsp; Data link capabilities has been around for many years 15 +... probably more. Out of that came the development of gINT Pro plus. The future capabilities mentioned in that help topic are for using a gINT SQL Pro plus database.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create Logs from data held in another SQL Database</title><link>https://communities.bentley.com/thread/458294?ContentTypeID=1</link><pubDate>Tue, 01 May 2018 09:22:21 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:621150f4-bfa4-41b3-a002-4244e7d97033</guid><dc:creator>Paul Chaplin</dc:creator><description>&lt;p&gt;So it you can pull data in from an external SQL database as long as you match up the fields/tables between the foreign database and the gINT database.&lt;/p&gt;
&lt;p&gt;The documentation then states:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;gINT can now output the queried data using any report style. The output engine views the queries the same as tables. However, gINT cannot currently bring up the data in the Input or Data Design Application Groups. These capabilities will be available in a future version of the program.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When is the ability to edit the external database through gINT scheduled to be available?&amp;nbsp; Or is this still currently in development?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create Logs from data held in another SQL Database</title><link>https://communities.bentley.com/thread/458058?ContentTypeID=1</link><pubDate>Fri, 27 Apr 2018 21:48:13 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:da07090c-59ee-4f90-af48-6dceb1d19083</guid><dc:creator>Kirk Johnson</dc:creator><description>&lt;p&gt;Hi Paul,&lt;/p&gt;
&lt;p&gt;You can write a datalink to your gINT database structure that is referenced on the reports. For a simple database structure it is not to bad, for a complex database structure it would be more difficult. The program is designed to use a gINT database .gpj or a Professional Plus SQL Database and is the method optimized to work best with your data. As the program is both a database management and reporting software.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The user guide is in help. goto gINT ..Help..search Using a gINT &lt;span style="background-color:#3399ff;color:#ffffff;"&gt;Data Link&lt;/span&gt; file (how-to guide)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>