Viewing 15 posts - 1,816 through 1,830 (of 3,233 total)
So you want to select rows that only exist in TableA? This is an OUTER JOIN.
SELECT a.*
FROM TableA a
LEFT JOIN TableB b
...
April 3, 2008 at 4:35 pm
I suppose I should have qualified that more Steve. The reason I have the concern is because what you've stated in that the resources are shared and many folks...
April 1, 2008 at 4:16 pm
Exactly, Matt's hit the nail on the head. The data should be retrieved from the database as a set based query. The application can perform any looping or...
April 1, 2008 at 3:22 pm
Wow. I feel for you. I've seen this before and I'd have to say that from my experience, I would be very wary about running a multi-user SQL...
April 1, 2008 at 3:13 pm
Dan,
I don't think there is a set formula like what you are asking for. You may be able to find information on how to initially size a SQL...
April 1, 2008 at 1:10 pm
I'm with Jeff on this one. Since I've been into SQL Server, I have written 2 cursors. One was for analysis purposes to gather info. on all databases...
April 1, 2008 at 12:53 pm
You should see how fast things run in the NV tables when you've had the time to add the proper indexes.
Thanks. For my example, I've only added a single...
April 1, 2008 at 11:07 am
You'll have to play around with this, but PATINDEX is probably the way to go here. I tried to do this using a derived table, but had no luck....
April 1, 2008 at 11:02 am
This works just fine....
DECLARE @EMPLOYEE TABLE (EmpId int, Ename varchar(20), Salary money, ManagerId int, DeptId int)
DECLARE @DEPaRTMENT TABLE (DeptId int, DeptName varchar(100), DeptHead int)
INSERT INTO @Employee
SELECT 1, 'John', 0, 0,...
April 1, 2008 at 10:42 am
Why can't you have 3 instances of the Employee table? Is this homework?
April 1, 2008 at 10:37 am
Please continue this thread here: http://www.sqlservercentral.com/Forums/Topic477835-338-1.aspx
April 1, 2008 at 10:30 am
Well, as I said, I am working on a schema design that was similar to the posters. I ended up creating a mock up of 2 models; one using...
April 1, 2008 at 9:42 am
I'll third that. Start out with a design that is as normalized as possible and make adjustments as needed.
Really, I chimed in here to give Luke a...
April 1, 2008 at 9:05 am
John,
There are a couple of things I'd like to point out here. Just as a note, I am not trying to sound condescending; rather, I'm not familiar...
March 31, 2008 at 3:32 pm
Viewing 15 posts - 1,816 through 1,830 (of 3,233 total)