Viewing 15 posts - 301 through 315 (of 637 total)
I mean then I can just pass the query to our DBA team and have them run the query. I myself don't have the rights to query the dm_exec_connections
I...
August 2, 2016 at 9:16 am
Would you mind writing to the query for me please ? Or else thx.
August 2, 2016 at 9:11 am
EXEC sp_MSforeachdb 'SELECT "?" AS DB, * FROM [?].sys.tables WHERE name like ''%HENCDP%'''
This works fine
July 26, 2016 at 12:42 pm
To: RVARN:
Example -
ALTER TABLE employees
ADD CONSTRAINT check_value
CHECK (fieldname IN ('Y', 'N', NULL));
--The above does not work. It allows any value. The trick is you need to take that...
July 20, 2016 at 8:11 am
See the attached, If that helps you.....
July 13, 2016 at 12:09 pm
It is a parameter of type string. It has a path and name of the output file.
So the value of this variable will be used by the ConnectionString property.
July 13, 2016 at 12:07 pm
YB:
This is not for display purposes.
It is for a TAB delimited file that goes to another company.
I am not sure why they can not handle dates in the mm/dd/yyyy format.
I...
June 27, 2016 at 1:31 pm
Good!
At the same time how would I decrypt the hex value back to normal text
The good thing about using the master.dbo.fn_varbintohexstr is that you are
able to directly insert that...
June 16, 2016 at 7:06 am
Good, I think I mentioned the same when replying..
The reason NULL was used is because every person in the table who had any other plan other than the 2 that...
June 14, 2016 at 2:04 pm
Not quite...
What I was looking was a way to get that value but without having to hard code the value inside the code.
I was thinking whether there was a...
June 14, 2016 at 1:46 pm
Good,
I was also asked to use the LTRIM(RTRIM( around the fields so that there be no spaces around. How can we handle that ?
June 2, 2016 at 1:42 pm
Thx,
i found it on google
SELECT TABLE_NAME as ViewName,
charindex('fnGetProviderHoursByProviderNo', VIEW_DEFINITION, 1 ),
VIEW_DEFINITION as ViewDefinition
FROM INFORMATION_SCHEMA.Views
where
charindex('fnGetProviderHoursByProviderNo', VIEW_DEFINITION, 1 ) > 0
May 11, 2016 at 11:05 am
Folks,
You may ignore this post from now.
I did find my solution. Works well!
Select
member_id,
COUNT(*) as CNT,
MAX(RIGHT(the_month,2)) as MAXMON,
SUM( CAST(RIGHT(the_month,2) as int ) ) as SUM_OF_MONTH
FROM
#coverage
WHERE
RIGHT(the_month,2)...
May 11, 2016 at 9:10 am
Well, there will not be a continuous range of dates for each grouping. That is the challenge here. Some members have coverage all the way up until 201512.
Others have some...
May 11, 2016 at 6:36 am
Found the issue....
This has nothing to do with my programming. It is an issue with VS2012. The following gives us a fix. I ran the steps as listed and managed...
May 2, 2016 at 12:56 pm
Viewing 15 posts - 301 through 315 (of 637 total)