1 sql= select TabID from Tabs where TabID in (19,73) and (ProjectId=0 or ProjectId='0') and (AuthorizedRoles='' or '' in (select UserId from ProjectMembers where ProjectId='0')) and (AuthorizedRoles='' or instr(AuthorizedRoles, '-1;')>0) and TabType='Doc' and isVisible=1 and (AuthorizedRoles='' or '' in (select UserId from ProjectMembers where ProjectId='0')) and (AuthorizedRoles='' or instr(AuthorizedRoles, '-1;')>0) 1 sql= select TabID from Tabs where TabID in (1829,0,1830,1,7,11,17,19,49,50,51,52,53,58,59,61,64,205,213,247,513,550,696,1061,1609,1858,2073,2106,2108,2276,4828,2,5,6,62,104,246,1085,1576,2760,5493,236,2323,2324,2047,73,1676,1678,1679,1680,1681,1682,1683,1684,1695,1697,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1721,1722,1723,1724,1725,1730,1731,1732,1734,1758,1805,1808,1856,1859,1864,1865,1866,2052,2053,2075,2480,2652,2692,2693,2694,2695,2696,2697,2698,2700,2703,2705,2711,2712,2822,1661,2128,5525,2129,1062,1063,1064,1720,1757,1771,2143,2466,2569,3152,3186,4202,5403,5290,5408,770,4255,5261,3,4,10,18,121,532,533,534,535,544,663,1595,1637,1686,1691,1770,1813,1886,1888,2085,2092,2140,2152,2155,2176,2233,2440,2501,2505,2555,2570,2571,3156,4096,4213,5494,5606,5787,5862,6077,6078,6166,6212,6370,6969,6981,6988,7014,7023,7062,13,74,108,206,527,529,536,549,863,1551,1552,1581,1631,1639,1642,1687,1688,1689,1690,1692,1693,1719,1764,1818,1819,1871,2048,2110,2120,2136,2138,2139,2141,2142,2431,2978,3202,4408,4409,4479,4559,4565,4567,5590,5591,5754,6282,6933,6958,531,545,1596,1640,1733,2137,2479,4411,4840,6550,6551,6552,6553,6554,6555,6556,6557,6558,6559,6560,6561,6563,6564,6565,6571,6572,6606,6607,6608,6609,6610,6612,6613,6614,6615,6616,6617,6618,6625,6626,6627,6628,6630,6631,6632,6633,6634,6635,6636,6637,6638,6639,6641,6642,6643,6644,6645,6646,6647,6648,6649,6650,6651,6652,6707,6709,6710,6711,6712,6713,6714,6715,6721,6722,6723,6724,6725,6726,6727,6729,6730,6732,6733,6734,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6781,6866,6867,6871,6886,6887,6890,6891,6892,6893,6894,6895,6934,6935,7039,7040,7041,7042,7043,7044,7045,7063,7064) and (ProjectId=0 or ProjectId='0') and (AuthorizedRoles='' or '' in (select UserId from ProjectMembers where ProjectId='0')) and (AuthorizedRoles='' or instr(AuthorizedRoles, '-1;')>0) and isVisible=1 and TabType='Book' and TabOwner='' and (AuthorizedRoles='' or '' in (select UserId from ProjectMembers where ProjectId='0')) and (AuthorizedRoles='' or instr(AuthorizedRoles, '-1;')>0) 1 sql= select TabID from Tabs where TabID in (19,73) and (ProjectId=0 or ProjectId='0') and (AuthorizedRoles='' or '' in (select UserId from ProjectMembers where ProjectId='0')) and (AuthorizedRoles='' or instr(AuthorizedRoles, '-1;')>0) and TabType='Doc' and isVisible=1 and (AuthorizedRoles='' or '' in (select UserId from ProjectMembers where ProjectId='0')) and (AuthorizedRoles='' or instr(AuthorizedRoles, '-1;')>0) 1 sql= select TabID from Tabs where TabID in (0,1,7,11,17,19,49,50,51,52,53,58,59,61,64,205,213,247,513,550,696,1061,1609,1829,1858,2073,2106,2108,2276,4828,2,5,6,62,104,246,1085,1576,2760,5493,236,2323,2324,2047,73,1676,1678,1679,1680,1681,1682,1683,1684,1695,1697,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1721,1722,1723,1724,1725,1730,1731,1732,1734,1758,1805,1808,1856,1859,1864,1865,1866,2052,2053,2075,2480,2652,2692,2693,2694,2695,2696,2697,2698,2700,2703,2705,2711,2712,2822,1661,2128,5525,2129,1062,1063,1064,1720,1757,1771,2143,2466,2569,3152,3186,4202,5403,1830,5290,5408,770,4255,5261,3,4,10,18,121,532,533,534,535,544,663,1595,1637,1686,1691,1770,1813,1886,1888,2085,2092,2140,2152,2155,2176,2233,2440,2501,2505,2555,2570,2571,3156,4096,4213,5494,5606,5787,5862,6077,6078,6166,6212,6370,6969,6981,6988,7014,7023,7062,13,74,108,206,527,529,536,549,863,1551,1552,1581,1631,1639,1642,1687,1688,1689,1690,1692,1693,1719,1764,1818,1819,1871,2048,2110,2120,2136,2138,2139,2141,2142,2431,2978,3202,4408,4409,4479,4559,4565,4567,5590,5591,5754,6282,6933,6958,531,545,1596,1640,1733,2137,2479,4411,4840,6550,6551,6552,6553,6554,6555,6556,6557,6558,6559,6560,6561,6563,6564,6565,6571,6572,6606,6607,6608,6609,6610,6612,6613,6614,6615,6616,6617,6618,6625,6626,6627,6628,6630,6631,6632,6633,6634,6635,6636,6637,6638,6639,6641,6642,6643,6644,6645,6646,6647,6648,6649,6650,6651,6652,6707,6709,6710,6711,6712,6713,6714,6715,6721,6722,6723,6724,6725,6726,6727,6729,6730,6732,6733,6734,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6781,6866,6867,6871,6886,6887,6890,6891,6892,6893,6894,6895,6934,6935,7039,7040,7041,7042,7043,7044,7045,7063,7064,4412,4413,4851) and (ProjectId=0 or ProjectId='0') and (AuthorizedRoles='' or '' in (select UserId from ProjectMembers where ProjectId='0')) and (AuthorizedRoles='' or instr(AuthorizedRoles, '-1;')>0) and (AuthorizedRoles='' or '' in (select UserId from ProjectMembers where ProjectId='0')) and (AuthorizedRoles='' or instr(AuthorizedRoles, '-1;')>0) 1 sql= select TabID from Tabs where TabID in (1609,1771,2143,2466,2569,3152,3186,4202,5403,1770,1886,2085,2092,2152,2176,2505,2555,2570,2571,3156,4096,4213,6077,6078,6981,863,2120) and (ProjectId=0 or ProjectId='0') and (AuthorizedRoles='' or '' in (select UserId from ProjectMembers where ProjectId='0')) and (AuthorizedRoles='' or instr(AuthorizedRoles, '-1;')>0) and TabType='Blog' and ProjectID in ('0','0') and (AuthorizedRoles='' or '' in (select UserId from ProjectMembers where ProjectId='0')) and (AuthorizedRoles='' or instr(AuthorizedRoles, '-1;')>0)