Viewing 15 posts - 841 through 855 (of 1,086 total)
I wholeheartedly agree Frank. I posted my code because it does do a count, albiet that count is for each row in a table. We would download data from another...
I wasn't born stupid - I had to study.
May 13, 2005 at 7:02 am
Go to your Tools ---> Options and start playing with those settings. I have my machine set that way because once I get into the billions of $, I cannot...
I wasn't born stupid - I had to study.
May 13, 2005 at 6:26 am
I think you may want to be more specific in your question. Query Analyzer is basically a notepad interface in which you make your own code to run. There are...
I wasn't born stupid - I had to study.
May 13, 2005 at 6:18 am
I have not had an issue with this altering data. It will alter the table though and could have profound effects on existing inserts, etc..., as well as select statements...
I wasn't born stupid - I had to study.
May 13, 2005 at 6:11 am
This may be overkill for your needs, but you can always drop out the code you do not need.
SET NOCOUNT ON
IF EXISTS( SELECT * FROM dbo.sysobjects WHERE id...
I wasn't born stupid - I had to study.
May 13, 2005 at 5:57 am
We have just migrated to version 9 and they will not give us support. They are telling us to migrate to 11
- it...
I wasn't born stupid - I had to study.
May 12, 2005 at 9:32 am
Darn good question!!! ![]()
I wasn't born stupid - I had to study.
May 10, 2005 at 11:21 am
BOL states:
@local_variable
Is the name of a variable of any type except cursor, text, ntext, or image. Variable names must begin with one at sign (@). Variable names must...
I wasn't born stupid - I had to study.
May 6, 2005 at 3:00 pm
Using Frank and Nick M's approach, I got this.... [ Thanks guys!
]
I changed some of the data to verify it will...
I wasn't born stupid - I had to study.
May 6, 2005 at 1:30 pm
You should be able to try my approach with the addition of the following:
INSERT INTO #OutPut
SELECT TOP 2 acct_number, idx, stage
FROM #u_external_requests
WHERE...
I wasn't born stupid - I had to study.
May 6, 2005 at 12:45 pm
So the top 2 isn't the issue? The stage of the record is the defining field? In other words, if an account is in stage 5, 6, or 7, you...
I wasn't born stupid - I had to study.
May 6, 2005 at 10:49 am
Or you could try the following:
CREATE TABLE #TblContacts( ContactID int,
FullName varchar(25),
Company varchar(25),
Address varchar(25))
CREATE TABLE #TblAgenda( AgendaID int,
AgendaItem varchar(25),
ProposedBy...
I wasn't born stupid - I had to study.
May 6, 2005 at 10:29 am
I see how the JOIN works with your code, but the original data had no date to use. If idx or stage had business rules similar to date, (i.e., like...
I wasn't born stupid - I had to study.
May 6, 2005 at 7:56 am
I use CHAR(13) all the time. Can you show us and example of your output?
Thanks - that is odd.... ![]()
I wasn't born stupid - I had to study.
May 5, 2005 at 3:21 pm
Alright. I may be going around the barn to get to the horse, (or however the saying goes), but this seems to work. Hopefully, someone will figure out a more...
I wasn't born stupid - I had to study.
May 5, 2005 at 11:12 am
Viewing 15 posts - 841 through 855 (of 1,086 total)