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 strongm 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: bs26
  • Order by date
  1. bs26

    Track changes to table

    If UPDATE(Column) ex. Create Table Calls ( CallID int, CallNumber varchar(20), CallText varchar(100) ) If UPDATE(CallText) SQL Online Books ---------------- See under triggers ( creating/modifying ) IF UPDATE (column) Tests for an INSERT or UPDATE action to a specified column and is...
  2. bs26

    Track changes to table

    Remember if the column has been updated with the same value, Update() will return true. Before Update Tbl1.Col1 = 45 Tbl1.Col2 = 'Test' Tbl1.Col3 = 'Jubii...' ex 1. Update Tbl1 Set Col2 = 'Test', Col3 = 'Hi' Where Col1 = 45 Update(Col2) = true Update(Col3) = true ex 2. Update Tbl1...
  3. bs26

    calculation within a select satement

    Cast the value as float to get a result in float Here: select ( cast( value as float) / 100 + value) as newvalue from mytable Bobby
  4. bs26

    DTS: EXCEL TO SQL: Fails to Imports data once in a while

    Hi GoBrowns, Sorry For not responding a bit earlier as I had my hands filled a copule of assignment, which had to be out of the door. I didn't find out why it sometimes didn't work. But is has been months it last occured. It happens once in a blue moon. It would be quite helpful for me to...
  5. bs26

    DTS: EXCEL TO SQL: Fails to Imports data once in a while

    Hi there, I use Asp.Net Application to upload a Excel file and then a DTS to import data from the file to the SQL2000 and finally to display the read data on the screen. The DTS starts with setting some variables with the help of Dynamic properties. On Succes. DTS rum 2 simultaneous Transform...
  6. bs26

    Using a function in a Stored Procedure

    select emp-id, dbo.YourFunction() from budget-detail.
  7. bs26

    Change path in DTS..?

    use dynmaic properties to set the path
  8. bs26

    query problem?

    insert into op_apps_daily.dbo.chktype select * from norway.dbo.chktype where norway.dbo.chktype.code not in (op_apps_daily.dbo.chktype)
  9. bs26

    Setting Global Var inside pkg from SProc

    Hi Dave, REPLACE EXEC @hr = sp_OASetProperty @oPKG, 'ImportFilename', @Filename WITH EXEC @hr = sp_OASetProperty @oPKG, GlobalVariables("ImportFilename").Value, @Filename Let me know how it turned out /b
  10. bs26

    Setting Global Var inside pkg from SProc

    Hi there, you nee to use sp_OASetProperty to set the global vraiables, before you call the excute method EXEC @hr = sp_OASetProperty @oPKG, <Global variable name>, <value> ex. EXEC @hr = sp_OASetProperty @oPKG, 'Filename', '\\svrname\c\inetpub\wwwroot\usadev\imports\credit1.txt' /b

Part and Inventory Search

Back
Top