Viewing 15 posts - 121 through 135 (of 388 total)
How many rows can it be returned by the function? Maybe you could store the rows in a temp table and index it?
How the function looks like - can you...
October 12, 2009 at 2:13 pm
Maybe you could create staging table - with the structure exactly same as the partitioned table you have. Load data into staging table and then switch the table into the...
October 12, 2009 at 2:10 pm
Hi,
It would be better in this case to write the query this way:
DECLARE @i INT;
SET @i = 10;
INSERT INTO test...
October 11, 2009 at 8:24 am
Hi,
Wouldn't LIKE work for you?
select SubstriptionID from Subscription where Subs LIKE '%SNA: The comba Marketing%'
Regards
Piotr
October 11, 2009 at 8:05 am
Jack Corbett (10/9/2009)
..until I have 1000's of readers I guess I have to.
Count me in Jack 🙂
Piotr
October 9, 2009 at 5:46 pm
Actually, this is simpler I think:
DECLARE @string VARCHAR(10)
SET @string = 'Sarat'
SELECT
CASE
WHEN @string = lower(@string) COLLATE Latin1_General_CS_AI ...
October 9, 2009 at 8:05 am
Hi,
This is something I think would be very useful and wouldn't require huge rework from the SQL Server team: to be able to define user friendly messages, something along these...
October 8, 2009 at 11:30 am
Wouldn't it be easier to load the data back to SSIS pack and process them properly there? Or process the data and load them in their final state to the...
October 7, 2009 at 10:19 am
So the difference is not that big. I suppose it is a matter of the amount of data matching the search criteria.
You can add another index if you cant modify...
October 6, 2009 at 3:40 pm
Option 1 seems to be better. You should look at the IO cost: execute SET STATISTICS IO ON and then the queries.
Also, run both queries in one batch - both...
October 6, 2009 at 3:18 pm
How the user is executing this proc? What type of application is used?
Regards
Piotr
October 5, 2009 at 2:02 pm
Just out of curiosity, what are you trying to achieve with this approach? Why would you query a table you don't know exists?
Regards
Piotr
October 5, 2009 at 1:54 pm
Maybe you could try to create a user without login, assign it to roles change execution context to it and try to exec the sp_start_job?
As in:
use msdb
go
create user utest without...
October 5, 2009 at 1:46 pm
It looks your database is subject to replication, isn't it? I found article of Paul Ibison[/url] that discusses similar (I think) issue. It looks like you will have to drop...
October 5, 2009 at 1:11 pm
Hi, you have to add user to one of the roles defined in the msdb, as per BOL:
By default, members of the sysadmin fixed server role can execute this stored...
October 5, 2009 at 9:56 am
Viewing 15 posts - 121 through 135 (of 388 total)