Forum Replies Created

Viewing 15 posts - 361 through 375 (of 1,158 total)

  • RE: Script Toolbox

    I use SQL projects and a single solution. I then load them all into source control.

  • RE: A View or Linq

    erics44 (7/4/2012)


    I'm not sure i agree with your reasoning

    I can use the parameters the same in a LINQ queries as variables in my code

    Not really true. You will not...

  • RE: Migrating Replication during Hardware Refresh

    Worth noting that, I'm assuming there are no changes going on in the data at the time of migration. Else you will need to do some data validation/comparisons etc.

  • RE: Migrating Replication during Hardware Refresh

    sqlsponge2 (7/3/2012)


    4.) Apply scripts created in step #1 without making any changes

    That's likely the key.

    By default, generate scripts will create a script for subscriptions as they were initially setup...

  • RE: Migrating Replication during Hardware Refresh

    I perform regular migrations like this without issue.

    How did you script the publication did you make any modifications?

    Are they push/pull subscribers?

    Did you drop replication prior to backing up/restoring?...

  • RE: Database Design for Hospital Management

    Jigneshal (7/2/2012)


    Its an Uni project..

    Good guess on my part since its extremely unlikely that it'd be a professional question like that.

    Assuming you already know the basics of database design from...

  • RE: Database Design for Hospital Management

    Jigneshal (7/2/2012)


    Hi,

    I want to create a database for hospital management system.

    but i dont have much idea to design db. Can anyone help creating db for hospital management.

    It will be a...

  • RE: how can we get the logs of database

    User information is not logged in the database transaction log.

    You will need to create an audit process and/or add a column to the tables to store the last modified user.

  • RE: Killing connections to a specific SQL Server table

    gary.morey (6/15/2012)


    I am the only user that does inserts / updates/ deletes to the table.

    All of the other users can only do SELECTs against the table....so this means that I...

  • RE: Key Assignment in a Calendar Table that Has Duplicate Dates

    dj1202 (6/15/2012)


    Hello all,

    There are duplicate dates (each correspond with a unique invoice number).

    You've answered your own question right here. Date, Invoice Number

    Although, a date dimension doesn't normally include...

  • RE: Killing connections to a specific SQL Server table

    gary.morey (6/15/2012)


    So if I am the owner of the table, can I drop it even if users are trying to query against it?

    If I can't drop it in this case,...

  • RE: sql server name issue

    You will want to find out exactly the procedure they took and what occurred. If its been renamed as they've changed the domain then security is likely the...

  • RE: Replication

    I'm guessing you want to add the feature to the already existing instance.

    Even if it didn't require a service restart I wouldn't risk it. Arrange to do it during...

  • RE: reinitialize a subscription

    select sa.name, CASE sa.pre_creation_cmd WHEN 0 THEN 'None'

    WHEN 1 THEN 'Drop'

    WHEN 2 THEN 'Delete'

    WHEN 3 THEN 'Truncate'

    END

    from sysarticles sa with(nolock) where sa.name = 'Table'

    See this article.

    http://msdn.microsoft.com/en-us/library/ms174970.aspx

  • RE: How to restrict the data

    Filtering is simple in replication using a where clause.

    You can only use dynamic filtering in merge replication. For example

    servername = hostname()

Viewing 15 posts - 361 through 375 (of 1,158 total)