NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 54 55 56 57 58 … 93 Next »
How to use MSDE(SQL Server) as GBPVR Database

 
  • 0 Vote(s) - 0 Average
How to use MSDE(SQL Server) as GBPVR Database
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,802
Threads: 769
Joined: Nov 2003
#81
2005-07-11, 09:40 PM
Quote:I believe I have tracked down to a possible typo in a delete function, this appears when I try and delete a source, it never succeeds and I am left with multiple sources, and a program table for of data. The line in question is:

delete from PROGRAMME p where channel_oid not in (select c.oid from CHANNEL c, SOURCE_CHANNEL_MAPPING scm where c.oid = scm.channel_oid)
I dont see any typo there, but I could be missing some. As far as I'm aware, this is work in the GBPVR Access database. Is it something in particular you think is wrong with this?

I dont test against MSDE, so I cant confirm whether or not it works.
RonCS
Offline

Junior Member

Posts: 4
Threads: 0
Joined: Jul 2005
#82
2005-07-13, 05:18 PM
Hi Sub,

thanks for getting back so quickly. It seems that the syntax in access sql can cope with 'delete from PROGRAMME p ', but msde can not cope with the 'p' at within the 'delete from programme p', probbly a bug with msde. Going to try a SQL4 service pack see if that works.

Ron
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,802
Threads: 769
Joined: Nov 2003
#83
2005-07-13, 05:35 PM
That looks ok to me. I'm fairly sure it would cope with the 'p'.

If you've got a tool which allows you to execute SQL, try executing that statement and see if it gives you an error.
RonCS
Offline

Junior Member

Posts: 4
Threads: 0
Joined: Jul 2005
#84
2005-07-16, 07:33 AM
Hi Sub,

Well as ever having a few problems installing SP4 for sql on my system! The error I get from SQL Query Analyzer is Incorrect syntax near 'p'.

Ron.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,802
Threads: 769
Joined: Nov 2003
#85
2005-07-16, 08:11 AM
Ok, I've removed the p from the next release.
RonCS
Offline

Junior Member

Posts: 4
Threads: 0
Joined: Jul 2005
#86
2005-07-16, 08:17 AM
Cool Thanks Sub. If only M$ had suck a quick development path.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,802
Threads: 769
Joined: Nov 2003
#87
2005-07-16, 08:28 AM
Hopefully its the only non-sql server compatible sql statement...probably not though.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#88
2005-07-20, 02:35 AM
I suspect that MSDE is expecting an AS statement to be between PROGRAMME and the P so something like:

delete from PROGRAMME AS P where...

But even then P is never used or referenced so doesn't even need to be there, it' just cleaner to remove the P as Sub is doing.
Darryl
Offline

Junior Member

Posts: 15
Threads: 1
Joined: Jan 2006
#89
2006-01-18, 02:05 AM
Hi,

Its been 6 months since the post in this forum indicating the fix would be in the next version.. I would hope there has been a new release since July 2005, but I can't find any release information to tell me what version(s) or when.

Is there a list of which versions contains which fixes?

I'm getting the same error trying to use the MSDE database and the current version (09516) and importing the EPG from an xmltv file.

Cheers,
Darryl
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,802
Threads: 769
Joined: Nov 2003
#90
2006-01-18, 02:18 AM
These posts were a long time ago. I vaguely remember making some changes that were requested here, but I couldnt tell you what exactly.

The truth is, I dont develop or test GB-PVR against MSDE, so couldnt tell you whether it works or doesnt work with it. Try it by all means, but if it doenst work, then you're probably out of luck.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (15): « Previous 1 … 7 8 9 10 11 … 15 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Determine Server Tuner/Recorder Status from Console App 27InchSony 13 8,497 2016-12-21, 05:03 AM
Last Post: mvallevand
  Looking for C# UPnP Media Server code bgowland 5 7,745 2016-12-16, 08:25 PM
Last Post: mvallevand
  TitanTv Remote Schedule For GBPVR UncleJohnsBand 51 34,392 2015-08-20, 05:11 PM
Last Post: sub
  Delete recordings from database but not from disk? spinnaker 8 3,937 2013-10-26, 10:51 PM
Last Post: spinnaker
  trying to fake npvr database for unit tests reven 3 2,311 2013-05-20, 08:53 AM
Last Post: reven
  Roku & GBPVR pvruser 16 11,658 2011-10-16, 08:31 PM
Last Post: pvruser
  (Yet Another) Rename Helper script for GBPVR & NPVR pvruser 2 2,790 2011-07-22, 01:27 AM
Last Post: pvruser
  Merged database queries mvallevand 4 2,170 2011-06-26, 09:56 PM
Last Post: mvallevand
  NPVR database questions mvallevand 25 10,010 2011-01-06, 12:58 AM
Last Post: jksmurf
  NPVR database - why so stringy with the fields?? :0) carpeVideo 4 2,123 2010-09-21, 01:48 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode