Viewing 15 posts - 10,876 through 10,890 (of 13,462 total)
ahh, now if the defrag is introducing problems, yeah, I see your point;
Any chance you can reschedule either the defrag or the backup so they don't intersect at the same...
July 8, 2009 at 6:13 am
Steve, for my shop, we also believe it is a good idea to defrag at the OS level; most machines are scheduled for once a week, and my dev machine...
July 8, 2009 at 5:16 am
OK as I'm testing this, I've found that the code I'm using for the PK/UQ/indexes, which uses sys.views instead of things like sysindexes, makes the proc work only if it...
July 7, 2009 at 1:08 pm
ok you got me thinking and in the mood, so i rewrote the procedure to get rid of all the cursors.
it's at least 5 times faster, cleaner code, blah blah......
July 7, 2009 at 12:06 pm
vinothd (7/6/2009)
I tried executing the Procedure on my server and both the trace and the view have sucessfully got created .I have one last question.The Event Viewer tries to track...
July 6, 2009 at 10:46 pm
==edit==
DOH i didn't see where you tried and failed due to indexes....sorry.
==edit==
here's a script I use to change collation;
in the example here, I'm grabbing only the top 5...you'd...
July 6, 2009 at 9:21 am
I think a lot of new posters don't have the experience/confidence to make sense of a quality article found on google, and are looking for the teacher/mentor to really rub...
July 6, 2009 at 7:05 am
vinothd (7/6/2009)
Thanks for u'r prompt reply.I went and viewed the trace thru the view created.
I have a couple of questions.
1.Is there any Option to Run the trace for a...
July 6, 2009 at 6:24 am
Hi vinothd;
basically the script does two things, it creates a trace on the server; server side traces do not have an appreciable impact on the server.
second, it creates a view...
July 6, 2009 at 5:46 am
thanks matthew; I'm glad it looks like it might be useful for you.
it's something i play with when i have spare time; it started out before varchar(max) was available, but...
July 5, 2009 at 9:39 pm
definitely fatfingered...i meant to say EXEC will use all you pass it, whether concatenated (max) variables or whatever, where sp_executesql is the one that will truncate at 4000; thanks, and...
July 5, 2009 at 9:12 pm
sp_executesql, even though its an "internal" stored procedure, is still a proc, and it has a parameter that is an nvarchar(4000);
EXEC is a command, and has no parameters.. just...
July 5, 2009 at 8:48 pm
How do I programmatically get the schema of the dev table with indexes
Any help will be much appreciated. If I posted this in the wrong area please straighten me out!
Thanks
Matthew
I...
July 5, 2009 at 8:29 pm
in addition to what ps said, maybe your friend sent you a backup file which contains more than one backup, and you restored only the first backup in the file,...
July 5, 2009 at 11:35 am
anything in double quotes or square brackets are expected to be a column name, not a static value:
SELECT 0 AS SupplierID, "All Suppliers" AS CompanyName
--should be
SELECT 0 AS SupplierID,...
July 5, 2009 at 8:49 am
Viewing 15 posts - 10,876 through 10,890 (of 13,462 total)