Viewing 15 posts - 16,936 through 16,950 (of 18,926 total)
Let me put it this way... I have 3000+ hours experience with sql/sqlserver and I'm just starting to feel comfortable.
This is not something you can learn by yourself... You need...
June 10, 2005 at 1:54 pm
Sorry, should have asked this earlier.
This is something that you do NOT keep in the db since it can be calculated easyly.
Select Production, dateadd(m, -6, Production) as Before, dateadd(m, +6,...
June 10, 2005 at 1:49 pm
Here's an option :
UPDATE tblMemberContact
SET tblMemberContact.Board = 1
WHERE tblMemberContact.ContactId in (
SELECT dbo.tblContact.ContactID
FROM dbo.tblMemberContact INNER JOIN
dbo.tblContact ON
...
June 10, 2005 at 1:45 pm
Datefield is the value that you base your calculations on. I was under the impression that this also was a column in the table.
Here's #2000
June 10, 2005 at 1:43 pm
Nice touch... didn't know that function
.
In the lights of this new knowledge, I would definitly go with that option... Still assuming...
June 10, 2005 at 1:40 pm
I was rereading your post and didn't see any difference... Was wondering if I were going blind all of a sudden.
Anyways, I think I would use Count(*) if case permits......
June 10, 2005 at 1:36 pm
select count(doc_iccmc) cnt,doc_iccmc from v_DOCUMENTDIRECTORY
group by doc_iccmc
Having count(doc_iccmc) > 2
June 10, 2005 at 1:33 pm
Try this in text result mode :
SET SHOWPLAN_TEXT ON
GO
DECLARE @Temp TABLE
(RowId int NOT NULL IDENTITY(1, 1),
Col1 varchar(20) NULL,
PRIMARY KEY CLUSTERED (RowId) )
Select * from @Temp where RowId = 1
Select...
June 10, 2005 at 1:32 pm
How can it be the same person if they don't have the same last name??
Anyways, here's more info on the soundex. It looks like it stops analysing at the...
June 10, 2005 at 1:30 pm
Still not sure of what you want...
Update tblMemberContact set Board = 1 /*true*/ where Contact_ID = 20
This will update all the rows of the table with a contact_id of 20....
June 10, 2005 at 1:25 pm
You just have to know where to look for this kind of stuff
.
June 10, 2005 at 1:21 pm
No thanx... I don't drink.
June 10, 2005 at 1:21 pm
Viewing 15 posts - 16,936 through 16,950 (of 18,926 total)