Viewing 15 posts - 7,471 through 7,485 (of 13,459 total)
the problem is the engine validates all objects mentioned in a script...regardless of if-then-else logic ; so if it doesn't exist at the moment it validates all objects in...
Lowell
June 2, 2011 at 2:00 pm
Tara-1044200 (6/2/2011)
Lowell
June 2, 2011 at 12:40 pm
I'm assuming you used my example as a partial model?
my knee jerk reaction was to use EXECUTE AS SELF to avoid permissions issues, and that seems to mask some of...
Lowell
June 2, 2011 at 9:16 am
Ramdas Baghel (6/2/2011)
please try DDL Triggers if you having SQL Server 2005 or Higher
that won't work...scripting is a DML operation, where it goes out and selects the details for a...
Lowell
June 2, 2011 at 4:25 am
patla4u (6/1/2011)
Table:1 CS(customer)CS_customer_id,
CS_customer_code
CS_customer_br
Table 2 CD(costomer desciption)
CD_customer_id
CD_customer_code
no explanation whatsoever? another repeat of a schema?
if you cannot explain what you want, we cannot explain how to do it. please see my...
Lowell
June 1, 2011 at 2:56 pm
wouldn't do any good.
you need to help us help you.
go back to the beginning...we know table1 has a three column PK.
another table has two out of three columns of that...
Lowell
June 1, 2011 at 2:43 pm
my google-fu pointed me to an issue where SQL server Agent needs to be restarted, based on this MS article?
http://social.msdn.microsoft.com/forums/en-US/sqltools/thread/32a2c09a-156f-43b2-9076-b11ba9ccdafb/
do you think that could be the issue? that db mail...
Lowell
June 1, 2011 at 2:38 pm
mohan.pariveda 18256 (6/1/2011)
Only...
Lowell
June 1, 2011 at 2:14 pm
patla4u (6/1/2011)
Thanksi don't want to join tables but I want to create relation.
Is there any other way to create relation(foreing key constrain) like junction tables????
Thanks
L
nope. a foreign key must...
Lowell
June 1, 2011 at 2:11 pm
don't just re-paste the same question...that doesn't help at all.
two tables can be JOINed via a SQL statement, and that join is not restricted at all...it can join on...
Lowell
June 1, 2011 at 1:59 pm
patla4u (6/1/2011)
Means composite primary key to composite foreign key ????(it's not working)
SO how can i create relationship with table...
Lowell
June 1, 2011 at 1:51 pm
unless you alias the table, you must use the whole 3 part naming convention(Database.Schema.Table.ColumnName) toi identify the columns in the joins:
here's the right way, and then again with aliases for...
Lowell
June 1, 2011 at 1:48 pm
dunno about most folks; since it's on by default, and it's a low impact trace, i'm under the impression most people don't actively go and disable it;
I personally think there...
Lowell
June 1, 2011 at 1:44 pm
you can join the two tables on two of the three criteria, but you can potentially get duplicates due to the third column
unless you assume/infer a specific customer_br?
...
LEFT OUTER JOIN...
Lowell
June 1, 2011 at 1:41 pm
Sean Lange (5/31/2011)
Pretty sure this article will provide you with some useful information.
nice link!
Lowell
June 1, 2011 at 1:37 pm
Viewing 15 posts - 7,471 through 7,485 (of 13,459 total)