Viewing 15 posts - 1,726 through 1,740 (of 2,038 total)
But I don't think the user wants to see all the 10 million items. So I think your user has a GUI where (s)he specifies to update the items. Formerly...
March 26, 2009 at 7:38 am
Mike Levan (3/26/2009)
does it mean OPENQUERY will use less resource than regular query? what happens when openquery is used with respect to the timeout and using resources.
Nope.
The difference between OPENQUERY...
March 26, 2009 at 7:29 am
Hi
Why do you want to load the data onto client? What do you want to update at these data?
The fastest way definitely is to do in with SQL on the...
March 26, 2009 at 7:21 am
Hi
I would advice to use QUOTENAME to avoid SQL injections:
ALTER PROCEDURE [dbo].[rkn_pk]
@tabname CHAR(50),
@colname CHAR(50)
AS
BEGIN
SELECT @tabname = LTRIM(RTRIM(@tabname)), @colname = LTRIM(RTRIM(@colname))
...
March 26, 2009 at 6:07 am
jchandramouli (3/26/2009)
A function that fetches some records from table containing 3555000 records took nearly a minute. I gave an index and rebuild it. The time reduced drastically.
My question is whether...
March 26, 2009 at 5:47 am
Hi
Directly after the creation of the index you don't have to rebuild it. This re-creates the index 😛
But you have to monitor the index fragmentation and its scan density and...
March 26, 2009 at 4:46 am
Hi christophe
As mazzz already wrote you can handle this with the ROW_NUMBER() function. Try this:
DECLARE @t TABLE (id INT IDENTITY, statut INT)
INSERT INTO @t
...
March 26, 2009 at 4:28 am
Hi
Please try this statement (thanks to Mohit 😉 ) for more specific information about the "INSERT":
SELECT TOP(50)
qs.total_worker_time / execution_count as avg_worker_time,
...
March 26, 2009 at 4:11 am
Hi
So you need this information because:
* You want to know if it is the right job for you?
* For your application?
Did you have a look at http://en.wikipedia.org/wiki/Database_administrator . Does this...
March 26, 2009 at 4:06 am
Hi vijay
If you give a bit more information why you need this we may be possible to give you what you need :-).
Without any more specific information the answer just...
March 26, 2009 at 1:50 am
Hi Barkingdog
It depends... Maybe you have a procedure which first INSERTs a record into a table and after this you are doing some logging or things like that. If your...
March 26, 2009 at 12:32 am
I see! I didn't know.
Thanks for assertion (again 🙂 )!
March 25, 2009 at 3:12 pm
Bruce W Cassidy (3/25/2009)
It was a bit harder in SQL Server 2000:...
March 25, 2009 at 2:55 pm
Bruce W Cassidy (3/25/2009)
Part of the SQLCMD is the ability to create variables for the environment (rather than T-SQL variables.) You could use this to build a command...
March 25, 2009 at 2:44 pm
Bruce W Cassidy (3/25/2009)
March 25, 2009 at 2:41 pm
Viewing 15 posts - 1,726 through 1,740 (of 2,038 total)