Viewing 15 posts - 1 through 15 (of 24 total)
Thanks - this does work !
The only problem I have with dynamic is that it gets real messy when you have a lot satements included in the same query like...
July 8, 2003 at 2:41 pm
This is a sample of the code I will have this month and the code after for next month.
The number of months I have is 61 so I will have...
July 8, 2003 at 2:04 pm
Yes - I set the percentage for testing.
I want to set the Field name Month1 to
Month2 next month within the Query but I do
not want to retype all Month1...
July 8, 2003 at 1:41 pm
Here is the error message
Server: Msg 194, Level 15, State 1, Line 23
A SELECT INTO statement cannot contain a SELECT statement that assigns values to a variable.
July 8, 2003 at 9:57 am
I tried the @name1 = Month1 but it said it was not allowed to be set in a select into.
I am trying to assign the Value in Month1
to a variable...
July 8, 2003 at 9:05 am
Thanks Guarddata - that work Great !
I appreicate the current and past post .
Rocko
July 2, 2003 at 9:33 am
Can you set field size within this table create ?
Thanks for your help. Rocko
July 2, 2003 at 7:33 am
Here is the code. When I look at the table that is created it has varchar set to 8000.
SELECT Distinct
TOP 100 PERCENT
[Vin 8],...
July 2, 2003 at 7:27 am
The [WILD CARD] field in the table that is created shows a filed size of 8000 varchar
I do not know wht it does this - I wanted to know if...
July 1, 2003 at 4:07 pm
I have this logic that I create the field called [WILD CARD]. The table that I create with the Query has an output of 8000 varchar.
Can I add the output...
July 1, 2003 at 3:46 pm
Here is an example. I want to have two fields as primary keys. Do I just add
Primary key as stated ?
SELECT distinct
TOP 100 PERCENT
[Client...
June 18, 2003 at 10:35 am
Viewing 15 posts - 1 through 15 (of 24 total)