Viewing 15 posts - 1,321 through 1,335 (of 2,010 total)
I believe the Select INTO prior to the Index creation was suggested because you then don't have to use the resources involved in maintaining the index during your table population....
October 10, 2008 at 8:30 am
Cursors cause performance issues because of looping executing things 1 at a time and not using set based operations. I am unaware of a set based operation that will...
October 10, 2008 at 8:15 am
You could create a table that has a list of your databases, then query that table and use the results from that query to populate a cursor to loop through...
October 10, 2008 at 7:45 am
Yes, I do this all the time with visual studio. You can either deploy your entire project, or use cntl+click to select the reports you want to deploy then...
October 10, 2008 at 7:05 am
For that many tables across that many databases, it might not be a bad idea to handle this with either a DTS (sql 2000) or SSIS (2k5+) task.
I think you'll...
October 10, 2008 at 6:12 am
sorry I assumed that if you had a client, they would have had a project at some point in time or other...
Just change the below to a left Join.
FROM Clients...
October 10, 2008 at 6:07 am
Glad to be of service.
-Luke.
October 9, 2008 at 1:24 pm
According to the following it would appear that Database mail only retries if it can't contact your SMTP server. It would appear that your issue with the multiple sends...
October 9, 2008 at 12:22 pm
Are you sending them directly from the SQL server or via some other SMTP server on your network? Various SMTP servers have differing abilities for logging and such, but...
October 9, 2008 at 11:30 am
You need to make sure you're calling the replace function each time as it take 3 params...
param one, the string to check
param 2 the string to replace
param 3 the string...
October 9, 2008 at 9:12 am
Are you copying all of the data from one database to another, or just a few tables?
If it's every table you could just take a backup of db1 and restore...
October 9, 2008 at 8:46 am
If it doesn't matter what values from Columns 3 and 4 are returned, why return them at all?
Why not just select c1,c2 from mytable Group BY C1, C2 ?
October 9, 2008 at 8:16 am
Ok, so I'm lazy and when doing some ad hoc work on small tables I used to occasionally use Select * WHERE 1=2 to get a list of column names...
October 9, 2008 at 7:57 am
Have a look at the following code. You want the entire statement that creates the cleanedColumn column.
-Luke
CREATE TABLE #test (
id INT IDENTITY,
testval VARCHAR(15),
description VARCHAR(50)
)
INSERT INTO [#test]
SELECT 'test','no...
October 9, 2008 at 7:20 am
This question was already asked and answered here http://www.sqlservercentral.com/Forums/Topic583230-146-1.aspx.
Please do not cross post.
Thanks.
-Luke.
October 9, 2008 at 6:17 am
Viewing 15 posts - 1,321 through 1,335 (of 2,010 total)