Viewing 15 posts - 586 through 600 (of 860 total)
Brandie Tarvin (4/12/2012)
Steve Jones - SSC Editor (4/12/2012)
April 12, 2012 at 1:57 pm
can you post some sample data and table definitions so we can see what you are looking at for an output??
April 12, 2012 at 1:27 pm
Lynn Pettis (4/12/2012)
drew.allen (4/12/2012)
Sean Lange (4/12/2012)
Why are you so stubborn about posting ddl and sample data?
I've come to the conclusion that he's not really interested in answers. He's only...
April 12, 2012 at 11:40 am
hbtkp (4/12/2012)
now i have another sp (sp2),which has all the values for all the periods.
now...
April 12, 2012 at 11:10 am
hbtkp (4/12/2012)
i dont have this thread before.yes i need to get same values in else also
drew.allen is saying that you have asked a similar question in the above posted thread...
April 12, 2012 at 11:08 am
suhailtajraja (4/12/2012)
April 12, 2012 at 11:05 am
is it just me or does any one else notice on his query in the OP and the so far, he never closes any of the parentheses for the derived...
April 12, 2012 at 10:39 am
hbtkp (4/12/2012)
i did.stil its not working
with out seeing your table structure the sample data in that table and the query you are trying to run we can go no further....
April 12, 2012 at 9:23 am
Sean Lange (4/12/2012)
But each constraint must have a unique name.
good catch sean, im getting ready for work and posting. apparently not a good combination.
April 12, 2012 at 8:51 am
pathankhan (4/12/2012)
So 3 foreign keys on Person_Information table to the same primary key Lookup_Country table will run perfectly fine.
ALTER TABLE Person_Information ADD...
April 12, 2012 at 8:42 am
ill come in and say it could be a select distinct... but even so DDL (Create table statements) and sample data (Insert statements) will be incredibly helpful in this...
April 12, 2012 at 8:38 am
as Gazareth said the foreign key references the primary key (the home_country_id references Country_ID) i would also read up on foreign key relationships to make sure you under stant...
April 12, 2012 at 8:34 am
suhailtajraja (4/12/2012)
I checked entity_id,and user_id are retruning multiple records in a table. So, what field do I need in my statement as a distinct.Are these entity_id
,user_id ones? or something...
April 12, 2012 at 8:13 am
danderson 73949 (4/11/2012)
I've 2 separate sql servers, both 2008R2. On srv1 i created a link to linksrv in order to update data between 2 tables. essentially what i want...
April 12, 2012 at 7:58 am
pathankhan (4/12/2012)
Lookup_Country Table list all the countries.
1. USA
2. Canada
3. China
4. India
Person_Information Table
Birth_Country_ID
Citizenship_Country_ID
Home_Country_ID
I can create...
April 12, 2012 at 7:51 am
Viewing 15 posts - 586 through 600 (of 860 total)