Viewing 14 posts - 16 through 29 (of 29 total)
You can set like
select @ch1=N'?'
select @ch2=N'?'
July 23, 2010 at 2:25 am
As long as you have relationship among all of them , hope you can have it as a single cude.
But while considering performance, you should have it seperately
July 23, 2010 at 1:05 am
You can use Column Type as nvarchar(max) or Text.
And make sure that when you enter values into the columns are enterted with ASCII char for new line of '' (new...
July 23, 2010 at 1:00 am
Also you can do like below:
update table set col1=isnull(@newvalue1,col1), col2=isnull(@newvalue2,col2),etc...
July 12, 2010 at 8:56 am
You have to use cursor
Use the sysobjects table to get the list of table.
Then loop through one by one and check for the condition you want
July 10, 2010 at 11:51 pm
Yes, You have to mention all the columns in the SP which are all needs to update
update table set col1=@newvalue1, col2= @newvlaue2, etc...
But there are options for passing values to...
July 10, 2010 at 11:47 pm
YES. you are correct. I want to know the list of Tables used in the Query.
The purpose is , while executing the Query, i need to add few more columns...
May 19, 2010 at 4:59 am
Hi,
Thanks for your reply.
I think i dont explain my requirement
I want to get list of tables in C# coding and not in SSMS
May 18, 2010 at 7:03 am
Say Eg :
Table1
FieldId FieldName
1 Value1
2 Value2
3 ...
April 7, 2010 at 9:24 am
ALTER TABLE [dbo].[table1] WITH CHECK ADD FOREIGN KEY([fieldid])
REFERENCES [dbo].[table2] ([fieldi_id])
ON DELETE CASCADE
April 7, 2010 at 4:23 am
You can modify the sql such that it gets parameter with semicon
select * from <table> where stageId in (<your parameter>)
Or
Write the sql with the parameter and assign it to the...
December 11, 2009 at 4:14 am
The above code returns(Dispalys) string "Red" or "Green".
I want the fore color of Field to changed to Red/ Green based on its value
December 4, 2009 at 2:15 am
Thanks for your reply. Actually i want to set the forecolor based on some condition.
Eg :
If Value of Field!txtfld.Value<5 then Green Else Red
How to do this
December 3, 2009 at 1:31 am
Viewing 14 posts - 16 through 29 (of 29 total)