Viewing 15 posts - 421 through 435 (of 440 total)
Hi,
Check out the below link on how to resolve Dead-lock things.
http://www.code-magazine.com/Article.aspx?quickid=0309101
Thanks -- Vj
February 15, 2008 at 10:52 am
Hi,
The best thing is export the source tables with all the grants,Primary key,Foreign Keys and Indexes.
Or
use the below syntax
Ex:
ALTER TABLE ORDERS
ADD FOREIGN KEY (customer_sid) REFERENCES CUSTOMER(SID);
Thanks --...
February 15, 2008 at 10:46 am
Hi,
When you are doing date comparision convert the date to specific format. Can yu post the Table structure with Datatypes.
Thanks -- Vj
February 15, 2008 at 10:40 am
Hi,
Check out the below link. This has the script to change all the object owners.
http://johnnynine.com/blog/HowToChangeTheOwnerOfAllTablesInADatabase.aspx
Thanks -- VJ
February 15, 2008 at 10:10 am
Hi,
When ever you do operations on the Date, Always use convert(varchar, GETDATE(), 101) function to take only date part. Coz in your query you have "=" operaor in this case...
February 15, 2008 at 9:55 am
Hi,
As per the database design policy you should not concatinate the fields. May be right now you dont have any requiremnts to update these values but later if there is...
February 13, 2008 at 6:19 pm
February 13, 2008 at 4:46 pm
Hi,
First of there is no problem with your order by clause. The results are sorted based on the Order by Clause. In your query you have "campaign_id" which is unique....
February 11, 2008 at 6:26 pm
Hi,
Check out the below link,
http://www.sqlteam.com/article/more-trees-hierarchies-in-sql
Thanks -- Vj
February 11, 2008 at 6:15 pm
Hi,
either you can use columns or * or 1 with EXISTS clause.
The EXISTS clause is based on TRUE or FALSE. it doesn't depend on columns. If you use column names...
February 11, 2008 at 6:04 pm
Hi,
It would be better if you store this SQL query results into Temprary table and use the table to delete the records from activity table.
Thanks -- Vj
February 11, 2008 at 5:59 pm
Hi,
the order of the where condtions doesn't play interms which one to execute first. It depends on the columns which you are using in where condition has indexes or not....
February 8, 2008 at 12:00 pm
Hi,
I am not sure what problems you are facing, but check out the below link
http://msdn2.microsoft.com/en-us/library/ms186273.aspx
Thanks -- Vj
February 7, 2008 at 6:09 pm
Hi,
You can use UNIQUE constraints to make sure that no duplicate values are entered in specific columns that do not participate in a primary key. Although both a UNIQUE constraint...
February 7, 2008 at 6:01 pm
February 7, 2008 at 5:54 pm
Viewing 15 posts - 421 through 435 (of 440 total)