Viewing 5 posts - 1 through 5 (of 5 total)
Here's the solution - add a COMMIT in the OPENROWSET:
SELECT * FROM OPENROWSET('SQLNCLI', 'Server=(local);UID=<uid>;PWD=<pwd>', 'SET NOCOUNT ON;EXEC robot5.tmp.test_insert ''22'';COMMIT;')
But why?
January 15, 2013 at 5:19 am
OK, this is the solution...
SELECT1 AS Tag,
NULL AS Parent,
xmlData AS [campaign!1],
NULL AS [contacts!3],
NULL AS [contact!2]
FROM#campaigns AS oc
WHEREID = 1
UNION ALL
SELECT3 AS Tag,
1 AS Parent,
NULL,
NULL,
NULL
UNION ALL
SELECT2 AS Tag,
3 AS Parent,
NULL,
NULL,
con.xmlData
FROM#Contacts...
April 19, 2012 at 4:33 am
oh my god. sure you all are right. I think it it was too easy to solve it by myself.
there are some bugs in my head...
November 26, 2010 at 7:11 am
Sorry about my bad explanation. I try to specify it.
I have a table which contains the first digits of telephone numbers (column Number)
IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.SCHEMATA...
November 26, 2010 at 1:39 am
no, this counts the rows...
I need the information about the biggest hit rate.
When I search for 99911 both rows matches, 999 and 99911. But the hit rate of 99911 is...
November 23, 2010 at 5:05 am
Viewing 5 posts - 1 through 5 (of 5 total)