Forum Replies Created

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

  • RE: Split source data in two tables

    ColdCoffee (5/2/2011)


    A 2-part INSERT might help you..

    First INSERT - SourceTable data (only Name col) into Target

    Second INSERT - JOIN SourceTable and TargetTable and insert into TargetConnection..

    Thanks for the fast answer,...

  • RE: Create database add-in: database project on existing third party database

    I have examined the "Always re-create database" flag and I must determine that the resulting sql scripts are the same, activated and deactivated?!?! 🙁

    Why?

    I have only one project in my...

  • RE: Create database add-in: database project on existing third party database

    Hi Grant,

    thanks for the answer. Have you checked it? I have deactivate the "Always re-create database" option in sqldeployment settings, but the resulting script is already with code part of...

  • RE: Update/Insert trigger

    For example if you have to create a trigger for a table with 100 columns and in your trigger you should only execute a statement if one special column would...

  • RE: Update/Insert trigger

    For example if you have to create a trigger for a table with 100 columns and in your trigger you should only execute a statement if one special column would...

  • RE: Update/Insert trigger

    Yes, it is.

    In relation to your question about the if update statement:

    You don't have to take the if update statement, the update of the column is enough without check, because...

  • RE: Visual Studio 2010 database project with server property verify

    Thanks Grant.

    I will try it, but it makes sense ;-).

    Perhaps you can help me with my other topic:

    http://qa.sqlservercentral.com/Forums/Topic1098607-23-1.aspx

    Thanks in advance.

  • RE: Update/Insert trigger

    Krasavita (4/27/2011)


    Question,

    1.Why do you write if update?

    The update function returns true if the written column was inserted or updated. In this way you can prevent execution of the update statement...

  • RE: Scripts

    And the disk drive is RAID X??? Or is that a default consumer hard disk?

    Have you checked the performance monitor to track "Avg read/sec", "Avg write/sec", "Avg sec/read", "Avg sec/write"?...

  • RE: Update/Insert trigger

    Ian Scarlett (4/27/2011)


    Patrick_Fiedler (4/27/2011)


    2. You can simply update the inserted table because the data in the inserted table would be added to the Employ table after execution of this trigger.

    Well...

  • RE: Scripts

    What storage your sql server is connected with? SAN?

    Have you distributed the OS, the data and log files over separate disks?

    What are the results of the script?

  • RE: Scripts

    Hi,

    please post details of the server. What server is it? Is it virtualized? What about the memory and storage?

    What other databases are running on this server?

    But you can check whether...

  • RE: Fragmentation

    Hi,

    you can reduce this with at least reorganizing these indexes.

    You can write a sql script with a cursor over all indexes to update and reorganize these indexes.

    Unfortunably I have currently...

  • RE: Update/Insert trigger

    Hi,

    first thing is: to make it more readable for me and the other viewers you should use the IFCode-Parts to identify sql code ... and in most cases it would...

  • RE: Is there any testing tool available to test SQL proc / functions

    Hi,

    we are testing our procedures with Visual Studio 2010. It has the Capability to write Unit tests for SQL procedures without programming C#.

    First you need to create a database project...

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