Viewing 15 posts - 61 through 75 (of 78 total)
Hugo Kornelis (5/8/2009)
saurabh.dwivedy (5/7/2009)
I got it wrong because I thought TWO NULL Values are NOT supposed to be same(identical). So I chose the option with 3 rows. Quirk of SQLServer?
No...
May 8, 2009 at 2:20 am
I got it wrong because I thought TWO NULL Values are NOT supposed to be same(identical). So I chose the option with 3 rows. Quirk of SQLServer?
May 7, 2009 at 9:10 pm
vidhyasudha (4/30/2009)
CREATE TABLE Product
(
product_id varchar(20), --- Primary key
product_name varchar(30)
Constraint PK_product_id Primary Key
) ON Primary
Create TABLE Sku
(
sku_id varchar(20), ...
April 30, 2009 at 1:47 am
Point taken. That was just an after thought. That's the way I had read the requirement, even though as you mention, the OP had indeed not mentioned this as a...
April 29, 2009 at 10:01 am
Anything that I enclose in [] has to be numeric otherwise SS throws an error. In your solution you are using Sql variable as well as hardcoding the subscript TO[sql...
April 29, 2009 at 9:58 am
lmu92 (4/28/2009)
did you try the PATINDEX function?
The following code will check the start position of each value from your table within the given search string. It will return the max....
April 29, 2009 at 9:44 am
Thanks that's a good point worth being on the lookout for.
April 29, 2009 at 8:31 am
steve dassin (4/26/2009)
saurabh.dwivedy (4/25/2009)
Because ideally I am invoking the same principle that is generally applied in SQL anywhere...viz "the property of closure", something which forms the basis of nested statements...
April 27, 2009 at 12:59 am
Thanks Lutz. I understand the substring part. I was trying to make sense of the 1000 part. Anyway I have got it now. Thanks for taking the time to explain.
April 27, 2009 at 12:50 am
Ken Simmons (4/26/2009)
Declare @Table Table (id int, color varchar(10))
Insert Into @Table
Select 1, 'red' UNION ALL
Select 1, 'blue'...
April 26, 2009 at 10:25 am
after some testing on dev I found without begin tran if i use Xact_abort on the transactions are rolled back for a single transaction like insert, update or delete but...
April 26, 2009 at 9:42 am
I will attempt to answer this question: I have gone thru the link posted in this thread and my answer is based on the understanding derived from that msdn article....
April 26, 2009 at 9:24 am
kruti (4/13/2009)
Ok. so pointer is again come to first question of this post.Why it is giving error in his execution?
As has been mentioned by Mr Corbett, I don't think GO...
April 26, 2009 at 9:00 am
Arup,
You can always mask your code in such a way that the proprietary information is not revealed. It would be helpful especially to newbies like myself to learn practical solutions...
April 26, 2009 at 8:57 am
GO is only a batch separater if it starts in column 1.
Thanks Jeff...I learnt something new again.
April 26, 2009 at 8:52 am
Viewing 15 posts - 61 through 75 (of 78 total)