Viewing 15 posts - 10,276 through 10,290 (of 13,461 total)
this is just a guess, where i'm trying to reduce the rows in the join by using a sub select;
does this produce results that are close to what you want?
SELECT...
December 2, 2009 at 9:40 am
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...
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...
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...
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...
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...
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...
November 30, 2009 at 9:23 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...
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...
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...
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...
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...
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
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...
November 26, 2009 at 6:19 am
Viewing 15 posts - 10,276 through 10,290 (of 13,461 total)