Forum Replies Created

Viewing 15 posts - 271 through 285 (of 381 total)

  • RE: Confused on how to retrieve all transactions up to seconds (elminating milliseconds)

    and convert(varchar, a.Date_DT, 120) = convert(varchar, b.Date_DT, 120)

    This will find two records if they are in the same...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Permission issue with dts package

    Steve, thank you for your information.  I had not thought to assign create table permission.  In fact, I think that I had downright forgot about that.

    It might work for us. ...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: XML

    The statement:

    document.all['A3'].innerText= objHTTP.responsexml.getElementsByTagName('InputZipCode');

    returns a collection of element nodes.  You need to first restrict it to one node. Then you need to get the text for that node.

    Try the following from

    http://www.devguru.com/technologies/xmldom/quickref/document_getElementsByTagName.html

    document.all['A3'].innerText=...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Permission issue with dts package

    Greg, do you find significant overhead in running the scheduled job or was it rather trivial?  I was thinking of scheduling this to check the table every minute.  So a...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Permission issue with dts package

    I had experminented setting the user name and password as an argument in the dtsrun command.  The sql statements in the package still ran as the domain login of the...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Referencing a SQL table when using an XML import in Access

    You have verified that the xml document is going to create a distinct value in the primary key.

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Retaining original table names during db to xml

    You can apply a tablemapping on your data adapter (I assume you have tables with real name MyTable1Name and MyTable2Name: put your names here)

    da is your data adapter

    da.TableMappings.Add("Table", "MyTable1Name");

    da.TableMappings.Add("Table1", "MyTable2Name");

    Then...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Rollback of Data base transactions in DTS

    I have wrapped items in a transaction using execute sql statements.  This post gave me reason to fix some problems.

    First, create an executesql task that has a "begin transaction" statement...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Table archiving

    Thank you for correcting my error.  I will fix it in the original.

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Table archiving

    You can set up a transaction.  The ArchiveTable is identical to the main table (no identity) with an Archive_Date.

    set transaction isolation level repeatable read

    begin tran

    declare @refDate datetime

    set @refDate = dateadd(month,...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: DTS package with a parameter

    You create a global variable "ImportFileName".

    Then in your call to dtsrun you add the following parameter:

    dtsrun ....  /A "ImportFileName":8=C:\MyFolder\MyFile.txt"

    Then you use a Dynamic Properties task to set the DataSource property...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: perform multiple update and multiple insert synchorizely

    create trigger myupdatetrigger on tblStudent for update

    as

    insert into tblstudent_history

    select id, record_type from deleted

    go

    -- I would suggest adding a date field to your history.

    -- The "deleted" element is a view...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Converting Access 2000 to SQL Server 2000

    I don't have access to "Server Management Studio Express," which is the stripped down version of the normal 2005 Server Management Studio.  I don't believe that you can use the...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: DTS: JOB: Network Drive

    I think that the nt user will be the nt user running SQL Agent.

    That user must be an administrator on the machine (if I understand that right).  You would need...

    Russel Loski, MCSE Business Intelligence, Data Platform

  • RE: Delete all records from SQL Server table

    Every linked table from SQL you want to update in Access must have a primary key index in Access. The table doesn't actually have to have one in SQL Server (your...

    Russel Loski, MCSE Business Intelligence, Data Platform

Viewing 15 posts - 271 through 285 (of 381 total)