Viewing 15 posts - 241 through 255 (of 898 total)
manoj.ramaiah (5/27/2013)
Thanks for your quick reply.
...
May 27, 2013 at 5:25 am
abhishekagrwl25 (5/27/2013)
because data in the column Depot_Name will be filled by user...it can b delete also...and i also want to show the Depot_Id as the value of the columns...
In that...
May 27, 2013 at 4:50 am
DECLARE@strSQL VARCHAR(1000)
SELECT@strSQL = COALESCE(@strSQL + ',', '')
+ '[' + Depot_Name + '] VARCHAR(100)' + CHAR(13) -- I assumed the column data type to be VARCHAR
FROMDepot
SET@strSQL = ' CREATE TABLE AnotherTable'...
May 27, 2013 at 4:14 am
I am not sure if I understand your requirements correctly
But I hope this what is what you want
SELECT*
FROMYourTableName AS YTN -- Replace your actual table name here
WHEREParentIntermediaryPK IS NOT NULL
ANDNOT...
May 27, 2013 at 3:00 am
It is quite easy to do this manually.
What is the problem you are facing in doing this?
May 27, 2013 at 2:24 am
I am not sure if anybody is going to answer any of your questions
Try searching for articles or resources in Google for these topics and go through them
If you still...
May 27, 2013 at 2:15 am
No. You should not be applying all the recommendations given by the DTA without more analysis.
The recommendations may be good but you should decide based on a lot of other...
May 27, 2013 at 1:33 am
You will have to drop the existing index and then create the index with the INCLUDED columns
The link below can help you with the syntax to create the index with...
May 23, 2013 at 7:58 am
KoldCoffee (5/23/2013)
May 23, 2013 at 7:03 am
vishnurajeshsat (5/23/2013)
Thank you it works:-)
Glad it works for you and I hope you understand what it does 🙂
In case you don't, make sure you understand it by looking up CTE...
May 23, 2013 at 5:31 am
raghuldrag (5/23/2013)
its simple do nothing while i making new entry.
Try calling the procedure by passing parameters as Bhaskar had suggested earlier and let us know if the row gets...
May 23, 2013 at 5:04 am
raghuldrag (5/23/2013)
hai ,I m deleted entire entries and make the new entry via asp.net it wont be work
What do you mean by "it wont be work"?
Does it give any...
May 23, 2013 at 4:56 am
The below link will be useful to you
http://www.sqlservercentral.com/articles/comma+separated+list/71700/
May 23, 2013 at 2:55 am
Change the below condition
if exists(select departuredate from journey where departuredate<@departuredate)
to
if exists(select departuredate from journey where departuredate>@departuredate)
May 23, 2013 at 12:35 am
Change your query like below
select
SomeID
, NewNum = case
when cast(num1 as varchar(10)) is null then cast(num2 as varchar(10))
when cast(num2 as varchar(10)) is null then cast(num1 as varchar(10))
else...
May 23, 2013 at 12:23 am
Viewing 15 posts - 241 through 255 (of 898 total)