Viewing 15 posts - 4,666 through 4,680 (of 7,191 total)
Not sure I've understood correctly here, but if I have then you're a sysadmin on the instance - I assume you are since you need that, or something close it,...
March 1, 2012 at 8:24 am
Devanand
No it won't - provided that the operations performed by your stored procedures are only on the database and not on any drives in the operating system.
John
March 1, 2012 at 8:18 am
Phil Brammer (3/1/2012)
The SQL Browser service is only for named instances. If you change the default port of the default instance, you will always have to specify the new...
March 1, 2012 at 8:13 am
okbangas (3/1/2012)
March 1, 2012 at 7:16 am
I think a Dates table would come in very handy here. You can create one something like this:
WITH Numbers(N) AS (
SELECT
ROW_NUMBER() OVER (ORDER BY c1.name)
FROM
master.sys.columns c1
CROSS JOIN
master.sys.columns c2
)
SELECT
DATEADD(d,N,'19000101')
INTO
Dates
FROM
Numbers
WHERE
N <=...
March 1, 2012 at 4:23 am
Kelsey Thornton (3/1/2012)
My point was simply that a little background information into why the port number...
March 1, 2012 at 2:27 am
Kelsey Thornton (3/1/2012)
Very well explained but missing one useful point:"Why would you want to change the port number in the first place?"
(1) Security, to prevent attacks on the default port....
March 1, 2012 at 2:02 am
I've seen backups succeed when the database has corruption in it. That's why it's important, periodically at least, to test that you can restore your databases and run DBCC...
March 1, 2012 at 1:51 am
You could use an OUTER JOIN instead, although I suspect that you may end up with the same execution plan. Have you considered indexes on the srno column in...
March 1, 2012 at 1:47 am
Kwisatz78 (2/29/2012)
Here is what I have altered it to:
But your original post was about splitting the update into batches. Have you tried doing that?
John
March 1, 2012 at 1:30 am
Matt Miller (#4) (2/29/2012)
Correct, you do log everything, but the truncate happens immediately after commit in simple mode so small batches roughly means no log growth in that scenario.
Actually, the...
March 1, 2012 at 1:28 am
You could do that, yes, but you're only explicitly doing something that would be implicitly done anyway. The original poster says that the whole thing is done in one...
February 29, 2012 at 9:08 am
(At least) two ways of working this out:
(1) Use Profiler to run a trace while you use the GUI, so that you can find out what commands were executed in...
February 29, 2012 at 8:43 am
Since there is no question here, I'm guessing that you want someone to write the stored procedure for you? That's not generally the way it works. Please have...
February 29, 2012 at 8:38 am
Matt Miller (#4) (2/29/2012)
February 29, 2012 at 8:16 am
Viewing 15 posts - 4,666 through 4,680 (of 7,191 total)