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

    function switch between update and insert but can't work, help

    Sorry for the earlier solution actually I focused on your null statement. do not use this line --compare=(rs1("equip_id")) The correct code is this... 'After conn.execute, Check for the eof-bof of recordset IF rs.eof and rs.bof then 'Means no record exists, so call the insert...
  2. rksingh024

    function switch between update and insert but can't work, help

    Instead of ------- if compare!=null Then ----- Use this ---------- if ISNULL(compare) = false Then ---------- Ramesh
  3. rksingh024

    Database backup

    May be following code can help you... ----------- declare @db varchar(30), @disk varchar(256), @weekname varchar(15) select @db = db_name() , @weekname = DATENAME(dw, getdate()) , @disk = '\\pc-name\' + @db + '-' + @weekname + '.BAK' backup database @db to disk = @disk with init...
  4. rksingh024

    get nt user name in sql server

    Hi, Can you explain your problem with more detail. Since it is not very clear. If users uses different NT username but same sql logins e.g. sa In this case there is no way to differenciate btn the users because NT username will not be considered. You have to use windows authentication or...
  5. rksingh024

    get nt user name in sql server

    Use select suser_sname() Ramesh
  6. rksingh024

    Problem in Running This Statement in SQL 2000

    Hi Sherly, What exactly you want to do. If any case you resolve the problem of "Column 'C.High' is invalid in the select list because it is not contained in either an aggregate function " then you will get different error message stating that subquery returned more than one value. I...

Part and Inventory Search

Back
Top