Viewing 15 posts - 10,276 through 10,290 (of 13,460 total)
well, if there was only one in the "p" table for shift 3, the issue is your joins are bringing in 4 more rows, right? i would guess the other...
Lowell
December 2, 2009 at 7:49 am
well the SQL looks right, so it's gotta be the data not meeting your expectations.
i would expect the SQL below to show you that there really is 4 items in...
Lowell
December 2, 2009 at 7:06 am
i believe by single developer, it is single installation. they do not want you to buy one copy and install it on 20 developers machines. 20 installations would require 20...
Lowell
December 2, 2009 at 5:17 am
if your table t1 already has those values, you should be able to use the integer modulus to determine/select only those values that are perfectly divisible by 100; then do...
Lowell
December 2, 2009 at 5:06 am
easily bob;
if the table exists, or if you create a staging table, there's no porblem; you want to use BULK INSERT command to do it. your example seemed to be...
Lowell
November 30, 2009 at 9:31 am
when you run the profiler, does the spid in the loop change, or is it incrementing?
if it was incrementing, that would imply to me that it is getting new connections.
if...
Lowell
November 30, 2009 at 9:23 am
glad i could help!
Lowell
November 30, 2009 at 8:46 am
that's what i was hoping....that there was an Id, in your case, PersonId in the table. your modification looks good.
you can easily test it with this, which would insert 4...
Lowell
November 30, 2009 at 8:37 am
well, I'm pretty sure you are running out of connections. it may have run without a problem previously, but breaking now because you are finally looping/creating more than 32767 connections.
since...
Lowell
November 30, 2009 at 8:31 am
i've seen this before, but in a vb6 application; are you using .NET?
opening and closing a connection takes resources, and time, since the server has to answer back with a...
Lowell
November 30, 2009 at 7:43 am
i think this is more like what you want:
CREATE TRIGGER tgrDefaultValue ON tblPerson
FOR INSERT
AS
UPDATE tblPerson
SET LastName = FirstName
FROM INSERTED
WHERE tblPerson.ID...
Lowell
November 30, 2009 at 7:33 am
to take advantage of an index, you can't use any functions on the column in the WHERE statement; the isnull(name, '') = '' doesnt allow a Sargable search, so...
Lowell
November 29, 2009 at 5:33 pm
by changing, do you mean schema changes, ie new columns, defaults,constraints, datatype changes, etc, or do you mean data changes, like new rows of data,others updated/deleted
Lowell
November 26, 2009 at 6:59 am
PavanKK (11/26/2009)
I am new to adminstration. can you help me with following.....
My application contains 300 tables & 1000procedures. Now am adding additional column to some tables ( say 180...
Lowell
November 26, 2009 at 6:19 am
I agree with Steve; a well written trigger would have no problem copying data to another table, so if you can show us your trigger code you tried, as well...
Lowell
November 25, 2009 at 4:42 pm
Viewing 15 posts - 10,276 through 10,290 (of 13,460 total)