Viewing 15 posts - 271 through 285 (of 320 total)
Thanks! Ideally, yes I'd like to try for the MCITP next. I hear books/study materials are scarce. Have any of you taken it?
June 30, 2011 at 4:31 pm
In total, about 10,000. There are some updates too, so that's why I was curious to see if there was a way to do it within SQL Server.
June 23, 2011 at 9:23 am
sturner (6/23/2011)
It will make a very long string, or you can build the string in a series statements like:
set
June 23, 2011 at 9:02 am
Sean Lange (6/23/2011)
June 23, 2011 at 8:55 am
Thanks for the info. Here are the results of my test. Method 2 looks most promising, but I'm not sure why it only inserted the one row.
--Method 1 (10 rows...
June 23, 2011 at 8:40 am
What do you mean? My concern is the opening and closing of so many connections and how it's causing query performance degradation and unnecessary load on the server. Would simply...
June 23, 2011 at 7:21 am
So the question is, why are the tags for JobStatus not hidden when all of the rest are?
CREATE TABLE [dbo].[SisJobs](
[Name] [nvarchar](128) NOT NULL,
[LastRunDate] [datetime] NULL,
[JobStatusCode] [int] NOT NULL
)
INSERT INTO SisJobs
SELECT...
June 16, 2011 at 6:49 am
I never realized that concatenating a literal (e.g. ',' or even '') to the field name causes FOR XML PATH to remove the XML tags.
Thanks.
Mike
June 16, 2011 at 6:38 am
I'm almost 100% certain. Just out of curiosity, what if I said that there might be another row or two? Would you refer me to your previous example?
May 31, 2011 at 7:15 am
I understand now.
I added a where clause to each query, which should only ever return one row:
SELECT end_date FROM DELETED WHERE ID = '1', etc.
Thanks GSquared!
May 27, 2011 at 9:30 am
GSquared (5/27/2011)
As an aside, the way the trigger is written will throw...
May 27, 2011 at 9:10 am
Disable the sa account
Why disable it? What if all users are accidentally locked out or deleted. SA is your guaranteed way in, no?
don't use it.
Don't use it for the owner...
May 24, 2011 at 7:44 am
Gianluca, thanks for the responses.
If you only need Execute permissions on the stored procedure to run any code within it, then what's to stop someone who has execute and edit...
May 24, 2011 at 6:48 am
Viewing 15 posts - 271 through 285 (of 320 total)