Viewing 11 posts - 1 through 11 (of 11 total)
Tech Bang (2/27/2016)
INSERT INTO @temp VALUES
(
(SELECT * FROM OPENQUERY([INTL-DBSERVER], 'EXEC spGetCriticalGapsForATransition @transitionId = 1') FOR XML AUTO, ELEMENTS),
(SELECT * FROM OPENQUERY([INTL-DBSERVER], 'EXEC spGetCriticalIssuesForATransition @transitionId = 1') FOR XML...
February 27, 2016 at 10:04 am
Tech Bang (2/27/2016)
DECLARE @server_name VARCHAR(100);
SELECT @server_name = @@SERVERNAME;
DECLARE @temp TABLE
(
Gaps XML,
Issues XML
)
INSERT INTO @temp VALUES...
February 27, 2016 at 5:27 am
Tech Bang (2/27/2016)
February 27, 2016 at 4:33 am
Thank you opc.three,
I have checked and the Force Encryption setting is indeed set to No.
It must be something on the user's side.
Very strange... Boggles the mind...
Kind Regards,
Riaan
February 5, 2013 at 6:07 am
sharon.chapman7 (11/19/2012)
Can you tell me how to write this code if I only want certain fields from each table? I get errors when I try to select a few fields...
November 19, 2012 at 11:33 am
Came right with guidance from various sources. Below the solution in case anyone ever wants to do something similar...
DECLARE @TempExportTable TABLE
(
Products XML,
Colours XML,
Sizes XML
)
INSERT...
October 27, 2012 at 1:14 pm
Thanks for the quick reply Sean.
The above is an example only, there are 14 tables in total and the end-user will be dragging and dropping the xml file into a...
October 26, 2012 at 3:49 pm
I came completely right! With big thanks to Paul and another tutorial at http://www.kodyaz.com 🙂
Below is the final T-SQL query for anyone who has a similar issue: (I...
February 27, 2011 at 6:26 am
Thanks Paul, I just did so - Simplifies the query a lot. 🙂
February 27, 2011 at 5:39 am
Hi Paul,
Thank you! Thank you! Thank you!
The second part works brilliantly if I replace it with the actual start date and numofclasses column from my existing Classes table! 🙂
An excellent...
February 27, 2011 at 5:22 am
Hi Sqlkiwi,
Thanks for the reply.
Most of these Pivot techniques I am aware of, although in this specific instance I do not have an actual data table which has periods and...
February 27, 2011 at 2:34 am
Viewing 11 posts - 1 through 11 (of 11 total)