Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jenlion
  • Content: Threads
  • Order by date
  1. jenlion

    Why did this update unexpected table?

    I wrote the following query to update a table in a mysql database from sql server. I cannot figure out why this wound up updating the updatedate field for some 3000 records on the linked SQL server. It should have been the source of updated fields. I can't tell what it might have updated, if...
  2. jenlion

    Domain Account - severely restrict

    Hello, I'm creating a webservice for a customer. I have a small problem - prefer that a domain account be used to authenticate users before the access this service, but they don't have anything suitable in their domain. Seems to me that a domain user that isn't given access to anything except...
  3. jenlion

    Class for XML

    I need to create an XML file that looks like this: <ShipControl> <CarrierIdentifier domain="SCAC">FDE</CarrierIdentifier> </ShipControl> I have: Partial Public Class cXMLRequestShipNoticeRequestShipControl <System.Xml.Serialization.XmlElement()> _ Public CarrierIdentifier() As...
  4. jenlion

    Access to path denied?

    VB.net 2008 service, trying to write a file to a directory on another server. I've tried both Dim Filestrm As New FileStream(OutputPath, FileMode.Create, FileAccess.Write) and a simple file copy after writing the file locally first; both get me an "Error 5: Access to the path '(outputpath...
  5. jenlion

    Server crash; no cert backup; possible to restore?

    My customer had a certificate on their server 2003 machine. It was called when encrypting and decrypting credit card numbers. The machine inconveniently went kaput this week without warning. OS is apparently trash. We have everything running again, but have no way to access the old credit...
  6. jenlion

    Query XML in SQL table

    I have XML Data that looks like this. <?xml version="1.0" encoding="UTF-8" ?> <CustomerMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <CustMap NetworkId="AN01000018306-T" CustID="Testing" /> <CustMap NetworkId="AN01000018304-T" CustID="Nobody" /> </CustomerMapping> Over...
  7. jenlion

    XPathDocument - file stays open

    I have a new service that watches a directory for new xml files and takes action when one is added/changed. When I add the following code, I find that once I save a file in the watched directory, I'm no longer able to access it. My service has it locked up. Offending code: Dim xpathDoc As...
  8. jenlion

    DTD conversion to XSD - multiple files

    I need to use a schema in Visual Studio, and VS requires it to be an XSD. I've not done XML in VS before (I'm really a SQL person that used to be a programmer and now I get to wear more hats). I've used both XMLSpy and xsd.exe to convert a DTD to an XSD. But when I do, it always creates THREE...
  9. jenlion

    Post XML to URL

    God, I hate being a newb again! I have successfully avoided all this web-service stuff that started in with programming when I jumped from being a standalone VB6 app programmer to a SQL person. But it turns out that while I've been gone from the developing world, things, um, changed. I need...
  10. jenlion

    xslt on the cheap

    I have an xml file for "orders" provided by a customer. This file format is set-in-stone and will always arrive this way. I have an ERP system that can accept an xml file for "orders" in a particular format. Obviously, these formats are not the same. I have used Altova to create an XSLT to...
  11. jenlion

    Sort view with no control over select statement

    I have a view that combines shipping information. Worldship calls this view through a map set up in its own program. My customer requires that the shipments import in a specific order. To do this, I set up the view to "select top 100 percent" ... "order by salesorderno, itemid". This used to...
  12. jenlion

    Question about &quot;between&quot; with wildcard

    Trying to understand the behavior of between here. I thought that the wildcard % meant 0 or more characters, but I'm running into something I don't quite understand. create table #table1 (nothing int) insert into #table1 values (1) select * from #table1 where 'a' between 'a%' and 'b%' This...
  13. jenlion

    Execute sql with low priority?

    I have a query that spikes the CPU. Working on optimizing it but that's taking awhile. (It only reads - no writes). Is it possible to assign a low priority to this query so that other people can get their work done while this runs in background, even it takes longer? I don't think there is...
  14. jenlion

    &quot;Not in&quot; suddenly stops working???

    I have a view that has been running for six months with no problems. Suddenly today it stops working. I have a table tsoPackage that has a packagekey int. I have another table (call it tableB) with a packagekey varchar(20). They both must be this data type -- an application requires...
  15. jenlion

    sql command to list references to table or view?

    Is there a SQL command that will provide a list of views that reference a given table or view? Here's my problem: I added a column to a view in a production database. Normally I don't like to do this, but it's an eensy-weensy change, I've done it before, and they really needed it. And it's...
  16. jenlion

    6.5 need efficient query to group information

    I have base tables that look like this: table tglAcctHist glacctkey fiscyear fiscper beginningbal creditamt debitamt table tglAcctHistAcctRef glacctkey acctrefkey fiscyear fiscper creditamt debitamt In table tglAcctHist, beginningbal is only given for fiscal period one in each fiscal...
  17. jenlion

    xslt group by elements and &quot;sub&quot;-elements...

    I have an xml file that I am converting to a new xml file. Currently I'm creating an xslt file with MapForce to do this. My issue is that my source file contains data at low-levels of the file, and my destination needs that data grouped at high-level: Source <Receipt> <Receipt Header>...
  18. jenlion

    Call SSIS Pkg from Stored Procedure?

    I started this message on the general SQL programming forum and was referred here... I am working with an application that allows me to run custom VB Scripts. I need a script to take an excel sheet, load it into a SQL table, and then run a stored procedure in the database. However, I can't...
  19. jenlion

    BEST way to import from Excel to SQL

    I have a table in SQL that needs to be updated or inserted to based on a given excel sheet. Table Item Price1 Price2 ---- ------ ------ ItemA 3.00 4.00 ItemB 2.99 3.99 Excel A B C 1 Item Price1 Price2 2 ItemA 3.00 10.00 3 ItemB 1.99...
  20. jenlion

    XSLT instruction to keep nulls?

    I have an xml file that I am transforming via xslt into another xml file. The new xml file must be in a particular format in order for a calling program to load data, so the xslt is putting it into that format. I need the xslt to preserve null values, though. Right now, if there's no value for...

Part and Inventory Search

Back
Top