Advertisement
peterbennett

android studio create view bug

Nov 13th, 2020 (edited)
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. final String CREATE_VIEW = "CREATE VIEW " + VideoEntry.VIEW_NAME + " ( " +
  2. VideoEntry.COLUMN_RECTYPE + " , " +
  3. VideoEntry.COLUMN_TITLE + " , " +
  4. VideoEntry.COLUMN_SUBTITLE + " , " +
  5. VideoEntry.COLUMN_VIDEO_URL + " , " +
  6. VideoEntry.COLUMN_FILENAME + " , " +
  7. VideoEntry.COLUMN_HOSTNAME + " , " +
  8. VideoEntry.COLUMN_DESC + " , " +
  9. VideoEntry.COLUMN_BG_IMAGE_URL + " , " +
  10. VideoEntry.COLUMN_CHANNEL + " , " +
  11. VideoEntry.COLUMN_CARD_IMG + " , " +
  12. VideoEntry.COLUMN_CONTENT_TYPE + " , " +
  13. VideoEntry.COLUMN_PRODUCTION_YEAR + " , " +
  14. VideoEntry.COLUMN_DURATION + " , " +
  15. VideoEntry.COLUMN_ACTION + " , " +
  16. VideoEntry.COLUMN_AIRDATE + " ," +
  17. VideoEntry.COLUMN_STARTTIME + " ," +
  18. VideoEntry.COLUMN_ENDTIME + " ," +
  19. VideoEntry.COLUMN_RECORDEDID + " ," +
  20. VideoEntry.COLUMN_STORAGEGROUP + " ," +
  21. VideoEntry.COLUMN_RECGROUP + " ," +
  22. VideoEntry.COLUMN_SEASON + " ," +
  23. VideoEntry.COLUMN_EPISODE + " ," +
  24. VideoEntry.COLUMN_PROGFLAGS + " ," +
  25. VideoEntry.COLUMN_CHANID + " ," +
  26. VideoEntry.COLUMN_CHANNUM + " ," +
  27. VideoEntry.COLUMN_CALLSIGN + " , " +
  28. StatusEntry.COLUMN_LAST_USED + " ) AS SELECT " +
  29. VideoEntry.COLUMN_RECTYPE + " , " +
  30. VideoEntry.COLUMN_TITLE + " , " +
  31. VideoEntry.COLUMN_SUBTITLE + " , " +
  32. VideoEntry.COLUMN_VIDEO_URL + " , " +
  33. VideoEntry.COLUMN_FILENAME + " , " +
  34. VideoEntry.COLUMN_HOSTNAME + " , " +
  35. VideoEntry.COLUMN_DESC + " , " +
  36. VideoEntry.COLUMN_BG_IMAGE_URL + " , " +
  37. VideoEntry.COLUMN_CHANNEL + " , " +
  38. VideoEntry.COLUMN_CARD_IMG + " , " +
  39. VideoEntry.COLUMN_CONTENT_TYPE + " , " +
  40. VideoEntry.COLUMN_PRODUCTION_YEAR + " , " +
  41. VideoEntry.COLUMN_DURATION + " , " +
  42. VideoEntry.COLUMN_ACTION + " , " +
  43. VideoEntry.COLUMN_AIRDATE + " ," +
  44. VideoEntry.COLUMN_STARTTIME + " ," +
  45. VideoEntry.COLUMN_ENDTIME + " ," +
  46. VideoEntry.COLUMN_RECORDEDID + " ," +
  47. VideoEntry.COLUMN_STORAGEGROUP + " ," +
  48. VideoEntry.COLUMN_RECGROUP + " ," +
  49. VideoEntry.COLUMN_SEASON + " ," +
  50. VideoEntry.COLUMN_EPISODE + " ," +
  51. VideoEntry.COLUMN_PROGFLAGS + " ," +
  52. VideoEntry.COLUMN_CHANID + " ," +
  53. VideoEntry.COLUMN_CHANNUM + " ," +
  54. VideoEntry.COLUMN_CALLSIGN + " , " +
  55. StatusEntry.COLUMN_LAST_USED + " FROM " +
  56. VideoEntry.TABLE_NAME + " LEFT OUTER JOIN " +
  57. StatusEntry.TABLE_NAME + " USING ( " +
  58. VideoEntry.COLUMN_VIDEO_URL + " ); ";
  59. db.execSQL(CREATE_VIEW);
  60.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement