Viewing 15 posts - 571 through 585 (of 898 total)
kirkdm01 (1/24/2012)
January 24, 2012 at 5:21 am
This should be easy if you post the DDL and sample data in a readily usable format
You will get a tested solution back
Please check the link in my signature on...
January 19, 2012 at 2:00 am
From whatever I could understand, I have made some changes
Check if this is what you need
select 0 as IntUserID, 'Select...' as chrFullname
union all
Select U.intUserID, U.chrUnAllocatedUser
-- there should be some...
January 17, 2012 at 6:43 am
I don't think there is a way to create a FOREIGN KEY linking a column in a table to 2 columns from 2 different tables
You will have to use TRIGGERS...
January 17, 2012 at 2:38 am
babak3334000 (1/17/2012)
mhike2hale (1/17/2012)
My script works.I think you did not execute this line:
exec(@queries)--execute your queryThis will execute the generated scripts and make changes to your database.
Ok very Good
I quickly...
January 17, 2012 at 1:07 am
SQL Kiwi (1/16/2012)
Kingston Dhasian (1/16/2012)
But, I don't think a CURSOR is mandatory to script out the UPDATE'sYou can do it even without a CURSOR
It's not, but unless you have a...
January 16, 2012 at 11:49 pm
SQLRNNR (1/16/2012)
Kingston Dhasian (1/16/2012)
Try it and get back...
January 16, 2012 at 11:30 pm
In that case you can use the INFORMATION_SCHEMA.COLUMNS view, and create a Dynamic Script that will update all columns with bit data type
It will be better if you follow Jason's...
January 16, 2012 at 11:19 pm
UPDATETableName
SETColumnName = 0
WHEREColumnName IS NULL
January 16, 2012 at 11:03 pm
sqldba2k8 (12/15/2011)
genuine people have their own knowledge to get the job.
I am working in developement platform.now i want to move admin...
December 15, 2011 at 2:58 am
Please post the DDL and some sample data along with the expected output. Also specify the columns that need to be checked for the existence of duplicates. If you provide...
December 14, 2011 at 2:27 am
You haven't given the description of your problem
Also post the DDL along with some sample data and the expected result
This will help people to give you tested solutions for your...
December 8, 2011 at 3:14 am
What value would you like to insert for the other columns like sex, averageage, maximumage and minimumage?
December 7, 2011 at 4:23 am
You will need an ORDER BY in your sub-query for the TOP 1 to work poperly.
December 7, 2011 at 3:45 am
Viewing 15 posts - 571 through 585 (of 898 total)