Viewing 15 posts - 6,391 through 6,405 (of 9,643 total)
Backups are of a complete database or filegroup.
I would suggest creating the table(s) in the new database and, if on the same server, select the rows from the original table(s)...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 6, 2009 at 12:33 am
Matt Whitfield (1/5/2009)
declare @sql varchar(4096)
set @sql = ''
select @sql = @sql + 'UPDATE [CustomerProducts] SET [RateVariance] = [RateVariance] + ' +
convert(varchar, [Variance]) + ' WHERE [' + Description +...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 6, 2009 at 12:26 am
Based on the limited information you have provided I don't know what help you can get. Please see the links in my signature about how to post questions so...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 4:30 pm
I think you can do this a couple of ways.
1. Nest the trended table in the details table.
2. Put both tables inside a list control.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 4:15 pm
noeld (1/5/2009)
See this thread for some guidance
The word "thread" in Noel's post and in the quote IS a link.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 4:05 pm
Another thing you can do when analyzing a trace is to aggregate as you may be better off tuning a statement that takes 1/2 a second to run, but runs...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 4:04 pm
You do understand that your Update statement as provided will Update all CustomerProduct rows whenever the@Product variable is "YES"?
I'd do this without a cursor:
Update CP
Set RateVariance...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 4:01 pm
If the data is numeric use a numeric type, in this case integer. As has been mentioned in other posts, as soon as you go character you get data...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 2:41 pm
I also use RedGate SQLCompare, but if the databases are on the same server you can write a query using the information_schemas views and get a rough comparison of column...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 2:37 pm
Do I understand correctly that you have tried logging in with the sa account with the new password and still cannot connect?
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 2:34 pm
Something like this will work:
Update table
set column = Left(column, 5) + 'B'
Where
right(column, 1) = 'P'
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 2:31 pm
You want to use the CASE function. Something like this:
SELECT
[Order_Amount],
[First_Name],
[Last_Name],
[Middle_Name],
...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 2:16 pm
GilaMonster (1/5/2009)
RBarryYoung (1/5/2009)
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 10:27 am
Good thread, I've picked up some things that I think will help me do a better job documenting my code.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 10:24 am
Michael Earl (1/5/2009)
Eric Klovning posted a great response in this thread:http://www.sqlservercentral.com/Forums/Topic629445-145-1.aspx
It was a link to:
http://letmegooglethatforyou.com/?q=free+open+source+sql+schema+diff+tool
I saw this one too, and will probably start using it regularly with a comment like,...
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
January 5, 2009 at 10:23 am
Viewing 15 posts - 6,391 through 6,405 (of 9,643 total)