Viewing 15 posts - 106 through 120 (of 326 total)
No, the dataset is not of fixed length and format. there may be a length of 1 and then there may be 116. So I go by proposed solution of...
February 20, 2013 at 9:17 am
Thanks a lot both of you. it worked. I was thinking that something like this will also work but it didn't 🙁
create table testing(ID int identity,
big_number VARCHAR(116) CONSTRAINT CK_big_number CHECK...
February 20, 2013 at 3:05 am
but will the sorting work correctly on varchar datatype?
February 19, 2013 at 6:10 am
Sorry for replying late. I am connected to MYSERVER while running the openrowset
February 14, 2013 at 5:28 am
yes, permissions are there. If i run the merge statement without OPENROWSET, it works.
So i was querious if it is possible at all?
February 8, 2013 at 3:07 am
Thanks So much Chris and it works. I recognize the deep thought you might have put in it. Thanks for your time...
January 8, 2013 at 7:03 am
Problem is :
I have hard coded the query for ForumId=9. But I need the SUM of hits for All
ForumIds individually. Something like:
ForumId SumOfHitCount
9 ...
January 8, 2013 at 4:36 am
Sorry for confusion. I am trying to remove a user defined function already built, not the sum function
January 8, 2013 at 4:25 am
I got this from BOL:
If a table is in a transactional replication publication, you cannot disable any indexes that are associated with primary key columns. These indexes are required by...
December 31, 2012 at 4:26 am
Although it works fine but why why do we need the UNION ALL part in the CTE?
mickyT (10/8/2012)
Here's another variation that should do the trick. No function this...
October 17, 2012 at 4:31 am
This is quite impressive but it doesn't work for some scenarios. e.g. this one :
insert into t1
select 'AAA22222222222222BB5BB 33CCCCCCCCC342234234'
EDIT: I meant it for Chris response:
SELECT
t.name, x.New_Name
FROM #t1...
October 5, 2012 at 8:00 am
Hi Chris.
the numbers are not consecutive as you have assumed. And they may be of length greater than 6. I think it is not so straight as it looks.
October 5, 2012 at 4:52 am
This is really good but problem is that my table has multiple rows and this is a table function. So it has to be a scalar function for me to...
October 5, 2012 at 3:58 am
Viewing 15 posts - 106 through 120 (of 326 total)