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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by kavin

  1. kavin

    1 set of procs outputing to 4 different databases

    this can be possible only by making dyanamic stored procs runtime (i.e. store the stored proc in table and make temporary stored proc run time by getting there data from tables) But this would be very time consuming process. so i would suggest to compile all 70 procs in all the four database.
  2. kavin

    Can someone tell me what this icon stands for?

    i m not very much sure. but that would be for readonly session.
  3. kavin

    data lineage / impact analysis

    can you please explain more?
  4. kavin

    Order of execution in mapping

    yes pbackstrom is correct. You can define you own sequence in mapping (in Informatica Designer) using Mapping --> Target Load option. Here you can set the sequence. While Truncate target will work only once at starting of the work flow. So dont worry about that. It will not truncate everytime.
  5. kavin

    INSERT help

    Hi Jon You dont worry about the max() while using transaction. If you have transaction open, your application will take care about it. but only thing need to know that u must have getting max() + 1 just above the insert statement. kavin
  6. kavin

    INSERT help

    hi jon In MS-access @@identity does not work, for that, u have to query the tables as follows: step 1 : Insert record in Title table step 2: get the max(titleID) from table step 3: insert record in Post table using that max(titleID) this all should be in a transaction. But in case of SQL, u...
  7. kavin

    DATEADD() Problem?

    Is ur T.[Date] is Date + Time field, If so then it is problem?
  8. kavin

    Sql Server ERROR handling question

    this kind of errors can not handle by SQL server can only be handle throgh client side using Try & Catch.
  9. kavin

    Dual usage of a openquery in a select statemnet

    I m not sure about ur problem but can u use linked server instead of Openquery, as i have found sometimes Openquery behavior is undetermistic.
  10. kavin

    Row Count Challenge

    I think using EXISTS in such scenario will not be helpful but U can make the 12 + 3 to like 12AB + 3 kind as it is varchar..so can u lots of permutation combination.
  11. kavin

    modification date

    As Far as my knowledge there is no such modify date upto SQL 2000.
  12. kavin

    Row Count Challenge

    I Hope this will solve ur problem: Do some kind of changes as u like.. I cud be done in One query but for performance wise better to use multiple with temp tables. For Generating serial number U have to use Temp tables OR Cursors, But Yukon (SQL 2005) have such fascility I suppose. Happy...
  13. kavin

    counting number of occurrences of names in a table

    select firstn,count(*) as TotalCount from #t1 group by firstn order by firstn
  14. kavin

    Grouping hours

    select sum(total) as TotalSale,convert(varchar(20),datepart(hh,logontime)) + ' - ' + convert(varchar(2),(datepart(hh,logontime)+1)) as Hour from #TestTable group by convert(varchar(20),datepart(hh,logontime)) + ' - ' + convert(varchar(2),(datepart(hh,logontime)+1)) Regards Pavan Kumar
  15. kavin

    Grouping hours

    select sum(total) as TotalSale,convert(varchar(20),datepart(hh,logontime)) + ' - ' + convert(varchar(2),(datepart(hh,logontime)+1)) as Hour from #TestTable group by convert(varchar(20),datepart(hh,logontime)) + ' - ' + convert(varchar(2),(datepart(hh,logontime)+1))

Part and Inventory Search

Back
Top