Forum Replies Created

Viewing 15 posts - 3,856 through 3,870 (of 5,103 total)

  • RE: Event ID 208

    Are you saying That the job does not show on the job list on EM ?

     


    * Noel

  • RE: Login name ?

    Yuri,

    When you restore a db specially from another server. The SID of the logins in the master db are probaly not going to match those of the db and therefore you will...


    * Noel

  • RE: Possible replication error

    EM uses that procedure to refresh the Replication Monitor Folders

     


    * Noel

  • RE: Permissions denied

    If you are the DBA you should be giving the access to others

     


    * Noel

  • RE: replication type advice

    Daniel,

    If your app is coded using normaly employed optimistic concurrency you still are going to have the problem of two users could try to change the same data at the...


    * Noel

  • RE: Publication Agents Status Continuously "Running"

    Are you looking at the monitor or at the jobs?

    If it is at the jobs and they are set up to run continuously then that's expected


    * Noel

  • RE: Possible replication error

    Do you have the replication monitor Enabled?

     


    * Noel

  • RE: tsql

    ...

    Do While Number > 0

    Number = 12

    Dim cmdEnter As New SqlCommand("PaymentSchedule", GlobalConnection)

    cmdEnter.CommandType = CommandType.StoredProcedure

    cmdEnter.Parameters.Add("@UserID", 208466)

    cmdEnter.Parameters.Add("@SPaymentAmount", Double.Parse(txtSpaymentAmount.Text))

    cmdEnter.Parameters.Add("@SPaymentDate", txtPaymentDate.Text)

    Enter = cmdEnter.ExecuteNonQuery()

    Loop

    ...

     

    Use indentation so that you can see better:

    Number = 12

    Do While Number...


    * Noel

  • RE: Complicated join

    joe joe, is an inner join. With the data you posted

    here is what I get:

     select    a.StreetCode

     , a.HouseNumber

     , a.Equal_Unequal_HouseNumbers

     , a.AreaCode1

     , b.Areacode2

    from

     TableA a

     join

     TableB b

     on a.StreetCode = b.StreetCode

        and a.HouseNumber >= b.HouseNumber_From...


    * Noel

  • RE: Locking to be done in T-SQL

    >>How do we see the records? I don't want to use NOLOCK. <<

    [edit:] I thought that nolock  will let you do that but I was mistaken. It does not

    Why do...


    * Noel

  • RE: Can a database name be called using a variable?

    There is another way to solve this!

     

    Declare @dbname1 varchar(20), @dbname2 varchar(20), @spname varchar(128), @retval int

    select @dbname1 = 'FirstDBNAME', @dbname2 ='SECONDDBNAME'

    -- call proc on db1

    set @spname = @dbname1 +'.dbo.procedurename'

    exec @retval...


    * Noel

  • RE: View, clustered index, and QUOTED_IDENTIFIER error

    Dave,

    The Global setting your DBA is talking about is maybe

    sp_configure 'user options' ,...

    but that affects everything new and it does simplify the life of your DBA


    * Noel

  • RE: Challenge for SQL Gurus: Grouping and outer joins

    Remi,

    You are correct in that the plan may be a little different but then again all those are very specific for data amount, skew in it and index presence.

    As of ...


    * Noel

  • RE: Challenge for SQL Gurus: Grouping and outer joins

    Michael,

    The Expression:

     Select ... From Table1,Table2

    without a where clause is a cross join!

    Therefore it should be exactly the same as the one posted by Carl with less typing...


    * Noel

Viewing 15 posts - 3,856 through 3,870 (of 5,103 total)