Forum Replies Created

Viewing 15 posts - 16 through 30 (of 63 total)

  • RE: Calculating Work Days

    There is scope for another function work hours in a daterange

    regards

    john

  • RE: How to solve the conflict between INSERT and DELETE

    Use Transactions is better then rowloc

    begin tran

    1.INSERT INTO tab1

    2.DELETE from tab1

    commit tran

    regards

    john

  • RE: SP problem

     

    A small correction

    create proc MarriageStatus (@EPNAME VARCHAR(10), @status VARCHAR(3)

    AS

    BEGIN

    UPDATE EMPLOYEES

    SET STATUS=CASE WHEN  @status='YES' THEN 'Y' else 'N' end

    where

  • RE: SP problem

    create proc MarriageStatus (@EPNAME VARCHAR(10), @status VARCHAR(3)

    AS

    BEGIN

    UPDATE EMPLOYEES

    SET STATUS=CASE WHEN  @status='YES' THEN 'Y' else 'N'

    where

    emp_name=@EPNAME

    END 

    go

    exec MarriageStatus 'Rajdeep' ,'N'

    send...

  • RE: Deleting Duplicate Records

    Theoretically speaking select distinct is the best way but, which are the fields you want to be distinct may change in each case.

    Virtually these are the problems of people who...

  • RE: How do I use SQL server to find tables for a column?

    information schema objects are extractions of sys tables see,

    select * from sysobjects where name like 'sys%'

    But I think you are seeking some other thing,posting your corret requirement will enable other experts...

  • RE: Null report parameter

    Hi ,Hi

    Poor Developer Guy ,They are dreeming but to certain extent you can help them ,say for example adding filtering options to...

  • RE: Trusted Connection and ASP

    I agree .

    I have few doubts regarding this

    First of all if my domain is DOM1 then how shall I do this in sqlserver1 running in PDC ,

    sp_grantdbaccess...

  • RE: import issue

    Good Idea ,

    Once in bluemoon import means ,just save the file in dbase format and then import

    regards

    john

  • RE: import issue

    This problem is can be sorted out by either

    1. Select the column in excel right click ,select format cells, in category list select text  press ok. This will solve the problem .
    2.  If...
  • RE: How To Find SQL Server Objects

    We have

    We have to appreciate this work ,this is going to be use full while we are going for development of access control portion of very large database applications.

    For...

  • RE: Error in a SQL Server query ?

    Oh my lord,

    There is no need to say much on this error , While parsing a query the first parser will go for a replace for the alias names...

  • RE: Creating a Chart From a Table

    Standards will come only after ideas , else the fate of many ISO standards would have been some thing else .

    To make it client independent better go for...

  • RE: Generate Next Numbers with SQL Server

    Hay you are doing good job but consider my suggestion also,the discussion is moving away from the topic "Generate Next Numbers with SQL Server"

    CREATE TABLE TBL_SEQ_PATTERNS...

  • RE: Save Print messages

    you can just populate a log table with select Last_Disp , Kount=count(*) ,en_date=getdate() from dbo.vw_AZ_Leads_Dialable group by Last_Disp also its more general ,and works even if...

Viewing 15 posts - 16 through 30 (of 63 total)