Viewing 15 posts - 16 through 30 (of 36 total)
ok,
But in my scenario i want the Alter Script, to update. Coz, we are developing a tool to update the other dbs, for that purpose i want to generate...
January 29, 2009 at 11:59 pm
Hi All,
In the above code, i have noticed a problem that in the #Numbers table,
It is not a problem, just suppose if the query results more than the no.of the...
January 21, 2009 at 8:42 am
Greate Vicky,
Thank you very much for providing the solution.
January 21, 2009 at 8:23 am
See, this is the requirement that i want in 2000 as well as in 2005, thats I have posted here.
thank you.
January 20, 2009 at 8:19 pm
it is great, Thank you Liliana.
January 15, 2009 at 9:56 pm
Yes, you are correct it effects the performance.
Could you please tell the best logic, so i can use (in SQL 2000)
thanks in advance.
January 15, 2009 at 12:37 am
Hi All,
Thanks a lot for your help,
I have done this using Cursors,
Here is the complete code,
DECLARE @tblRolesWithComma TABLE(Roles VARCHAR(8000))
insert into @tblRolesWithComma VALUES('Role1,Role2,')
insert into @tblRolesWithComma VALUES('Role1,Role3')
insert into @tblRolesWithComma VALUES('Role1,Role4')
insert into @tblRolesWithComma...
January 15, 2009 at 12:27 am
Hi all
Thank you very much for you help.
I have done this using Cursors in SQL 2000.
DECLARE @tblRolesWithComma TABLE(Roles VARCHAR(8000))
insert into @tblRolesWithComma VALUES('Role1,Role2,')
insert into @tblRolesWithComma VALUES('Role1,Role3')
insert into @tblRolesWithComma VALUES('Role1,Role4')
insert into @tblRolesWithComma...
January 15, 2009 at 12:19 am
HI,
The above code is working perfectly as what i required. Thank you for providing this.
We need to use the same concept in SQL 2000 also, is there any possiblities to...
January 13, 2009 at 7:29 pm
there is one column having many rows and each row can have any no of values randing from 1 to 'n'
January 13, 2009 at 7:01 pm
yes you are rigth,
refernce to the link
-----------------
http://www.sqlservercentral.com/articles/Test+Data/61572/
Using function we can do,
CREATE FUNCTION dbo.fnConcatTest (@SomeID INT)RETURNS VARCHAR(8000) AS BEGIN DECLARE...
January 13, 2009 at 8:37 am
Hi,
Thank you for your valuable information.
So, to reduce the Logical Reads we need proper indexing for the tables.
Regards,
Santosh
September 17, 2008 at 10:16 pm
hi,
thank you very much,
this is what exactly i need,
i am calculating the business hours between two days based on shifts using function,
there i need to eliminate the second saturday's as...
September 13, 2008 at 4:21 am
HI,
Thank you for ur quick reply,
I gone through the given link, it gives us the no.of days,
for the given date range,
but
What exactly i want is,
Whether the given...
September 12, 2008 at 3:43 pm
Ok, Thank you for valuable information.
I will work on tuning..!!
July 18, 2008 at 5:07 am
Viewing 15 posts - 16 through 30 (of 36 total)