Viewing 14 posts - 151 through 164 (of 164 total)
Remi what do u think ab this?
As the error message states, the SELECT/INTO form of the select clause just doesn't work using anything more than a 2 part...
June 30, 2005 at 10:15 am
Remi:
i was under impression tha 'prefix' is defined as 'identifier before an entity'
ie in yr query above (post 2626) there are 3 prefixes before the table name, or in other words,...
June 29, 2005 at 12:43 pm
something like
select * from beta.data_base.dbo.table_name
works just fine, the problem starts when u attempt to create the new table on a linked server remptely from a local server.
Farrell,
what...
June 29, 2005 at 11:33 am
same to u
June 29, 2005 at 10:52 am
it's mostly clicking in the DTS wizard pointing to objects - boring to death. I'd better typa smth in QZ, or use a template.
June 29, 2005 at 10:47 am
the reason I asked is that I have a vague recollection that it can be accomplished that way, fast with just a couple of lines - I did it before but...
June 29, 2005 at 10:38 am
Thank u, I will. Needless to say it looks pretty deep to me :=)
June 28, 2005 at 11:44 am
Thank you, q! I checked this, it works. The way u did it is much more clear and faster.
Sergei
June 28, 2005 at 9:08 am
It works just fine. It's a self join after all.
Thanks a lot, Remi.
Sergei
June 27, 2005 at 1:33 pm
that's how it can be done with temp table:
--create a temp table
select propertyID, att_id_new into _temp1
from _all_props where att_id_new is null
--drop 'att_id_new' column
ALTER TABLE _temp1 DROP COLUMN att_id_new
-- add identity...
June 27, 2005 at 1:15 pm
the numbers in 'attribute_id' columns are not random. each property has an unique 'attribute_id' in the database. I just showed u top 10 records from the table. What I'm doing...
June 27, 2005 at 12:34 pm
probably did not give enough details...
prop_ID attribute_ID
ACEN 2001
AIT 2003
DM 1194
ENT NULL
FLTL NULL
FLTU NULL
FLVL 2040
FLVU 2087
FP 1200
GFOR NULL
need to assign a unique attribute_id (starting with 105001) where attribute_ID is NULL, ie...
June 27, 2005 at 12:18 pm
I cannot drop the column 'attribute_id' b/c it already contains non-NULL entries for the other 'prop_ID'. I guess I'll have to create a temp table with those prop_id for which...
June 27, 2005 at 12:00 pm
Hi, Remi
from what u wrote I got:
a 1
b 2
d 3
e 4
c 5
g 6
pls explain how it can help me to do what i wanted to be done?
or do u suggest...
June 27, 2005 at 11:44 am
Viewing 14 posts - 151 through 164 (of 164 total)