Viewing 15 posts - 226 through 240 (of 247 total)
OK, first off you've got one problem. Your XML is not well-formed. I'm guessing that it should be this:
<?xml version="1.0"?>
<RESULTS>
<NTFD>1111</NTFD>
<PRB>1111</PRB> <!-- this line was bad -->
<NAME>11111</NAME>
June 17, 2005 at 9:14 am
I've got a similar situation here, except that the database I have to hit on is not in compatibility mode, it *is* SQL Server 6.5. ODBC works OK against it...
April 27, 2005 at 7:16 am
Here's another example directly from on-line help, example code that populates a dataset from a data adapter:
Dim nwindConn As SqlConnection = New SqlConnection("Data Source=localhost;Integrated Security=SSPI;Initial Catalog=northwind")
Dim...
April 7, 2005 at 10:33 am
Also, FYI, why don't you run a trace on the server, if you can, to see how all those connections are behaving, while the app is in use? If they...
April 7, 2005 at 9:33 am
From on-line help:
"The Fill method implicitly opens the Connection that the DataAdapter is using if it finds that the connection is not already open. If Fill opened the connection, it...
April 7, 2005 at 9:31 am
I agree with this, it looks to me like the open connections are not being closed. ADO.NET does not automatically close connections, even when the connection goes out of scope....
April 7, 2005 at 7:41 am
Can you do a "disconnected edit" in your DTS package to determine which item is failing? Open the package in Enterprise Manager, right-click on a blank portion of the package...
March 8, 2005 at 7:19 am
Since you're just getting the year, would the year() function perform any better? Probably a wash, but maybe worth trying in addition to other suggestions.
February 3, 2005 at 8:56 am
What query tool are you using? Query Analyzer shows NULL if there's no data. Can you use the datalength() function to determine if there is any data in the field?
Quick...
January 28, 2005 at 7:11 am
We had a problem where a particular job (DTS package) had exactly this problem, where the job failed but SQL Server didn't actually fail the package, it would just keep...
September 14, 2004 at 8:08 am
Don't know about previous versions, but stored procedures in SQL Server 2000 may have type of "text" or "ntext", which theoretically will let you pass in just about as much...
September 10, 2004 at 7:35 am
OK, here's a "better" version that actually does something.
<html>
<head></head>
<body onload ="init()">
<xml id="xmlDoc">
<definitions>
<def>
<phrase>IANAL</phrase>
<definition>I am not a lawyer</definition>
</def>
<def>
<phrase>IIRC</phrase>
<definition>If I recall correctly</definition>
</def>
<def>
<phrase>IMOP</phrase>
<definition>In my opinion</definition>
</def>
</definitions>
</xml>
<label>Pick a phrase: </label>
<select...
May 27, 2004 at 8:28 am
Oops, my bad, you don't need these lines, take them out:
var xmlSource = new ActiveXObject("MSXML2.DOMDocument.3.0");
xmlSource.async = false;
xmlSource.validateOnParse=false;
xmlSource.setProperty("SelectionLanguage", "XPath");
Sorry about that, I...
May 27, 2004 at 8:08 am
Here's a code snippet that might get you started. This works in Internet Explorer, not sure about any other browsers. This contains an embedded XML "data island" and uses XPath...
May 27, 2004 at 7:55 am
OK, here's an ActiveX script (suitable for use in a DTS package) that uses DMO to get the name of the server, into a package global variable (and shows a...
April 8, 2004 at 8:48 am
Viewing 15 posts - 226 through 240 (of 247 total)