Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)

  • RE: Problem with "WITH CHECK OPTION"

    The USERS table is having only userid and associatedrecordid. Userid is a loginname. associatedrecordid is uniqueidentifier data type. Not only this, we have another problem. That is if...

  • RE: Problem with "WITH CHECK OPTION"

    The actual view definition is

    CREATE view V1 as

    SELECT

    EMPLOYEEDETAILS.EMPLOYEEDETAILS_ID,EMPLOYEEDETAILS.FIRSTNAME,EMPLOYEEDETAILS.MIDDLENAME,EMPLOYEEDETAILS.LASTNAME,EMPLOYEEDETAILS.ADDRESS1,EMPLOYEEDETAILS.AGE,EMPLOYEEDETAILS.COMPANYOFFICE,EMPLOYEEDETAILS.DATEOFBIRTH,EMPLOYEEDETAILS.GRADE,EMPLOYEEDETAILS.HEALTHASSESSMENT,EMPLOYEEDETAILS.LOCATION,EMPLOYEEDETAILS.REPORTSTO

    FROM EMPLOYEEDETAILS WHERE

    EMPLOYEEDETAILS.EMPLOYEEDETAILS_ID IN

    (

    SELECT EMPLOYEEDETAILS.EMPLOYEEDETAILS_ID FROM EMPLOYEEDETAILS

    WHERE EMPLOYEEDETAILS.MIDDLENAME IN

    (select EMPLOYEEDETAILS.MIDDLENAME

    from users

    join EMPLOYEEDETAILS on users.associatedrecordid = EMPLOYEEDETAILS.EMPLOYEEDETAILS_ID

    where USERS.UserID =...

  • RE: retrieve data when a trigger is being executed

    Hi Sreevani

    If you are modifing a record, first Sql server delets the record and then insert a new record with the modified value. Here the deleted table contains the...

  • RE: Table comparison

    Hi Blue use this query

    Select customerID from customer_data where customerid not in (select customerid from customer_log where last_login_date > dateadd(day, -365, getdate())

    The above query will solve your problem. All...

  • RE: Release SQL Memory

    Same thing happend with my server also. I think data buffer is occuping the memory. But if the OS requests any memory it will release the unwanted data from...

  • RE: Add another db to a login

    You can use sp_grantdbaccess procedure.

    1) Login as sa or dbo

    2) USE HisDB

    3) EXEC sp_grantdbaccess 'Cris', 'Cris'

    Thanks

    Regards

    Ram

    ram@cntit.com

  • RE: Login failed for user 'sa'

    Hi Jelena

    To rectify this problem follow these steps.

    1) In publisher select the database

    2) Select Tools --> Replication --> Configure, Publisher, Subscriber and Distributor

    3) In the wizard click on Subscribers tab

    4)...

  • RE: Changes in the Articles

    I faced the same problem, but in my case the publisher and subscriber are at two different places and connected by internet. Several times I broken the replication and...

  • RE: Error Description in T-SQL

    Hi Mitra

    You can see all the error messages in "sysmessages" system table. You can use like "select description from sysmessages where error= 207"

    Thanks

    Ram(DBA)

    ramakrishna100@yahoo.com

  • RE: Transcation type Repliction

    If you want you can create the procedures and save at subscriber end. For creating procedures I will follow the following way. First create a dummy databse with the...

  • RE: Transcation type Repliction

    How you created the subscriber?

    While creating subscriber in the "Initialize Subscription" Screen select "Initialize the schema and data at the subscriber. Then this will create procedures at subscriber end...

  • RE: Insert Error Please Help

    Are u started the snapshot or not? If you started the snapshot that will create the tables in subscriber database and replicate the data also. So, check whether...

  • RE: Insert Error Please Help

    What type of replication are you using?

  • RE: Insert Error Please Help

    Peter I want some more info to clarify your doubt. What version of SQL you are using? What kind of replication you are using?

    Ram

  • RE: Problem with with immediate replication

    SQL Server version is 7.0 with SP3. I changed the repinfo to 0 from 256 in sysobjects table for the PUb2 articles tables and tryed to delete the data...

Viewing 15 posts - 1 through 15 (of 15 total)