Viewing 15 posts - 466 through 480 (of 636 total)
Gives me an error message ( I did modify your syntax )
SELECT
preop.MPOG_Case_ID,
STUFF( (SELECT ',[' + s.AIMS_value_text + ']'
FROM dbo.AIMS_Preop as s
WHERE
s.MPOG_Case_ID = preop.MPOG_Case_ID
and
s.MPOG_Deleted_CD = 0
and
preop.AIMS_Preop_Concept_ID IN...
June 15, 2015 at 12:38 pm
Sorry, NO.
What is PASS anyway ?
June 15, 2015 at 9:28 am
Ann Arbor, MICHIGAN 48105
Drop by if you are closeby
June 15, 2015 at 9:16 am
Thank you that works!
I owe you a beer.
June 15, 2015 at 8:28 am
No I changed my mind..
That solution worked...:):)
Thanks...Have a great day and no need to reply to this
___CASE CLOSED _______
June 9, 2015 at 2:19 pm
Sorry this is too cokplicated.. Lets go back to the picture and I will explain.
The picture was to show you how the data looks like in the table.
Please...
June 9, 2015 at 2:09 pm
No HELP needed.. I figured out
Select *
FROM
(
Select Pat_ID, reg, date_of_lvad, method_found as [method_found]
FROM ABCD
)as s
PIVOT
(
COUNT(method_found)
FOR [method_found] in ( [QUERY-4301],[QUERY-4723],[REGISTRY],[REGISTRY-(NO ADM DT)] )
)AS p
May 18, 2015 at 8:10 am
no did not work.. Since this was an link to an Oracle database.
However I found it while googling...
Select top 100 * FROM CDRQ_Moderage..[CDR].[EEG_TEXT_T]
This works! 🙂 GOT TO HAVE...
May 14, 2015 at 10:32 am
Thank you and please close this ticket.
April 9, 2015 at 1:37 pm
Yes, that works ( I modifed according to my needs )
DECLARE @table_name varchar(50),
@sql varchar(1000);
SET @table_name = 'TEST_DATE_' + CONVERT(varchar, getdate(), 112)
Set @sql = 'Select *...
April 9, 2015 at 11:53 am
True but I do have to figure out how to rename the table and include the current date as a part of the table name.
I am not going to be...
April 9, 2015 at 11:03 am
Thx, it worked.
However when I paste the results in EXCEL the entire string got converted to some numbers ...
Hmm that is outside of this forum but a reply would be...
April 6, 2015 at 3:15 pm
OK, this is good if you were to gram all the rows in a table.
Sorry, I need to able get the data from a SQL query
Can you modify your BCP...
February 27, 2015 at 10:57 am
This site has all the options for SQL sever 2014. I am going to try this
https://msdn.microsoft.com/en-us/library/ms162802.aspx
bcp "SELECT FirstName, LastName FROM AdventureWorks2012.Person.Person ORDER BY LastName, Firstname" queryout Contacts.txt -c...
February 27, 2015 at 10:46 am
Sorry I have no way to copy this.
I tried to highlight this and only part gets highlited.
Can you copy and paste the entire command in one line please
February 27, 2015 at 10:44 am
Viewing 15 posts - 466 through 480 (of 636 total)