Viewing 15 posts - 16 through 30 (of 95 total)
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,...
May 2, 2011 at 2:36 am
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...
April 29, 2011 at 7:48 am
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...
April 29, 2011 at 3:41 am
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...
April 28, 2011 at 11:24 pm
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...
April 28, 2011 at 11:24 pm
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...
April 28, 2011 at 8:13 am
Thanks Grant.
I will try it, but it makes sense ;-).
Perhaps you can help me with my other topic:
http://www.sqlservercentral.com/Forums/Topic1098607-23-1.aspx
Thanks in advance.
April 27, 2011 at 7:50 am
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...
April 27, 2011 at 7:41 am
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"?...
April 27, 2011 at 7:30 am
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...
April 27, 2011 at 4:22 am
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?
April 27, 2011 at 3:01 am
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...
April 27, 2011 at 1:42 am
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...
April 27, 2011 at 1:30 am
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...
April 27, 2011 at 1:16 am
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...
April 26, 2011 at 7:04 am
Viewing 15 posts - 16 through 30 (of 95 total)