home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
Hauppauge HD-PVR & Colossus Support
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="sjevtic" data-source="post: 857370" data-attributes="member: 118214"><p>Sorry, I don't have MySQL running here, not to mention having a TV-Server database in it, so I can't readily test a mysql command, and it would definitely take a few tries to get it right.</p><p> </p><p>In the case of the sqlcmd command I proposed earlier, the logic of where to find the channel configuration information is all embedded in the query. The fields you need to update (videoSource and audioSource) are in a table called TuningDetail. Literally everything in the query after the first WHERE clause serves to restrict the channels that will be modified so that you don't inadvertently update the videoSource and audioSource for a channel associated with another card.</p><p> </p><p>The web is full of great introductions, tutorials, and references to the SQL data manipulation language that are worth taking a look at--I am not ashamed to admit that I use them on a pretty regular basis, since my SQL skills are usually on the rusty side. Access is also a great tool for helping you gain proficiency with the language. You can create some pretty involved queries in the GUI's query designer, and then switch over to SQL view to see the SQL statement representation of your query for inspection or even modification, and then quickly go to data view to see the effects of your work.</p><p> </p><p>Sasha</p></blockquote><p></p>
[QUOTE="sjevtic, post: 857370, member: 118214"] Sorry, I don't have MySQL running here, not to mention having a TV-Server database in it, so I can't readily test a mysql command, and it would definitely take a few tries to get it right. In the case of the sqlcmd command I proposed earlier, the logic of where to find the channel configuration information is all embedded in the query. The fields you need to update (videoSource and audioSource) are in a table called TuningDetail. Literally everything in the query after the first WHERE clause serves to restrict the channels that will be modified so that you don't inadvertently update the videoSource and audioSource for a channel associated with another card. The web is full of great introductions, tutorials, and references to the SQL data manipulation language that are worth taking a look at--I am not ashamed to admit that I use them on a pretty regular basis, since my SQL skills are usually on the rusty side. Access is also a great tool for helping you gain proficiency with the language. You can create some pretty involved queries in the GUI's query designer, and then switch over to SQL view to see the SQL statement representation of your query for inspection or even modification, and then quickly go to data view to see the effects of your work. Sasha [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Hauppauge HD-PVR & Colossus Support
Contact us
RSS
Top
Bottom