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...
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...
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...
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...
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...
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...
May 12, 2005 at 9:32 am
Darn good question!!!
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...
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...
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...
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...
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...
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...
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....
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...
May 5, 2005 at 11:12 am
Viewing 15 posts - 841 through 855 (of 1,086 total)