Viewing 10 posts - 1 through 11 (of 11 total)
Thank you both!!! 😀
Have a great weekend!!!
May 24, 2018 at 1:49 pm
sorry...should've shared (slaps forehead)
Msg 229, level 14, State 5, Line 1
The SELECT permission was denied on the object 'sql_modules',database 'mssqlsystemresource',schema 'sys'
but it only happened on...
May 24, 2018 at 1:20 pm
One more question: Can you think of any reason why the strSQL portion when run (testing) worked with NO "permission to schema sys" issues, but when the cursor query runs,...
May 24, 2018 at 10:56 am
You guys are super fantastic!! Now the issue is permissions for the schema sys. it works if I do it individually but there's over 200 DB and countless tables and...
May 24, 2018 at 10:41 am
Thank you! I'll review again.
How would you recommend getting "all" the Names on the query? (even though there is NO value or CaseId associated)
October 24, 2016 at 1:12 pm
it gave me all three "dRank"...
The specific "Names" needed are in the WHERE clause. if you take that there may be an "other" name in the table...
October 24, 2016 at 11:56 am
I tried this too...
select
CaseFileIdentifier
, ReferralDate
, CollectedOnDate
, CollectedOnTime
, dRank as CollectionSequence
,Isnull([HBsAb],'---') as [HBsAb]
,Isnull([HBsAg], '---') as [HBsAg]
,Isnull([Syphilis],'---') as [Syphilis]
,[HIV NAT], [HCV NAT], [HBV NAT]
,Isnull([RPR/VDRL], '---') as [RPR/VDRL]
,Isnull([NAT HBV], '---') as...
October 24, 2016 at 11:36 am
Hi Drew,
That didn't work... 🙁
Here is some sample data, when you have time to check it out.
Create Table tempSero
(
CaseId varchar(20)
, rDate datetime
...
October 24, 2016 at 11:31 am
Thank you Drew! I'll give that a shot and if it doesn't work, I'll put up some sample data.
October 24, 2016 at 10:29 am
Viewing 10 posts - 1 through 11 (of 11 total)