Viewing 15 posts - 46 through 60 (of 60 total)
The proper syntax:
delete openquery(INTERFLOW02, 'select * from inventory.dbo.transmissions')
As illustrated in this article:
October 20, 2006 at 3:05 pm
Are you writing the file to a network machine or to the machine the database is running on? I don't think you can write to a network machine.
September 12, 2006 at 1:58 pm
As I recall the issues I ran into while starting out with BCP were permission related. On the server the database is on, check what the service MSSQLSERVICE is running...
September 12, 2006 at 7:35 am
Lisa,
Thank you for taking the time to post a response to my question. You definately got me on the right path. I did uncover several errors as I'm obviously nowhere...
August 25, 2006 at 4:21 pm
Thanks for the response.
I had already seen this posting (and many others). Unfortunately, the link provided is no longer valid (http://support.microsoft.com/default.aspx?scid=gp;%5Bln%5D;gsserr404&style=error).
I did download the the dlls from Microsoft though...
August 23, 2006 at 7:14 am
Wouldn't you know I ran across an article shortly after I posted.
http://www.perfectxml.com/articles/xml/openxml.asp
And here's what I ended up with:
INSERT INTO PROSPECT
SELECT *
from OPENXML(@hDoc,'/adf/prospect/id',3)
WITH
(id int '.', source varchar(20) '@source',daterequested...
August 15, 2006 at 2:37 pm
After playing with the xsd file this is what I got to work...seems contextType is case sensitive (vs contexttype)...
<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:sql="urn:schemas-microsoft-com:mapping-schema"
elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo>
<sql:relationship name="BetDetails" parent="Bet" parent-key="BetID" child="Selection" child-key="BetID"/>
</xs:appinfo>
</xs:annotation>
<xs:element name="Message" sql:is-constant="1">
<xs:complexType>
<xs:sequence>
<xs:element...
August 14, 2006 at 10:03 am
I was attempting to follow this example since everything was nicely provided. This is my first attempt at import xml into SQLServer. I got this error:
Schema: unable to load schema...
August 11, 2006 at 4:48 pm
Thanks for clarifying why it didn't work. I didn't know the in clause couldn't be the result of a query at runtime.
If I HAD to make it work with the...
February 1, 2006 at 1:53 pm
Thanks David! That is exactly what I was looking for.
Already got it pulling the data 😉
August 19, 2005 at 9:03 am
Thanks for your suggestions. I'll give 'em a try today.
August 19, 2005 at 7:46 am
Thanks for your response.
I was hoping for more dynamic automated approach. I wouldn't be able to push that solution out to a client.
August 19, 2005 at 7:30 am
I might mention this is for a report which will be pulled by users to check on success of service dept. Run maybe twice a month.
Here is the sql statement:
select neworused52...
July 1, 2005 at 7:41 am
I decided to use a user defined function to determine the first oil change. If there wasn't one, it just returns null. I get the right results and the sql...
June 30, 2005 at 2:40 pm
Well, so much for trying to be complete in my initial post..thought I covered all the bases. Not sure what you want for sample data...just for me to list it...
June 30, 2005 at 12:12 pm
Viewing 15 posts - 46 through 60 (of 60 total)