Viewing 15 posts - 8,116 through 8,130 (of 9,643 total)
I don't know, based on your time in the field from your recently posted article, I feel like I need to show you proper respect and call you "Mister". ...
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
August 5, 2008 at 8:21 am
Jeff Moden (8/4/2008)
Jack Corbett (8/4/2008)
[font="Courier New"]sp_msforeachdb @command1 = 'Select table_schema, table_name, column_name, data_type from INFORMATION_SCHEMA.COLUMNS'[/font]
Here's an...
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
August 5, 2008 at 7:45 am
Good article, anything that gets this many responses is, IMHO, a good article. Being a relative newcomer to the field (late 90's) I never had to deal with...
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
August 5, 2008 at 6:54 am
Yes, I understood what you needed except for the schedule part. I'm not sure how you would do this in SSIS. You could do an execute SQL Task...
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
August 4, 2008 at 7:33 pm
Is this something you want to schedule or is it a 1-time thing? IF 1 time you can do it in SSMS by sending the results to a file.
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
August 4, 2008 at 6:47 pm
It's a database error message that could be handled more gracefully by the application. It is related to either poor database design and/or the way in which the application...
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
August 4, 2008 at 6:46 pm
Well, you'd have to find the location of the first numeric character using IsNumeric and then take that position to the right. You would probably want to use a...
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
August 4, 2008 at 6:40 pm
The Optimizer chooses the near best way to get the data. Depending on the statistics for the index/column and the criteria entered. Now you have specified a non-clustered...
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
August 4, 2008 at 3:01 pm
You can use sp_msforeachdb and set @command1 to "Select table_schema, table_name, column_name, data_type from infomation_schema.columns".
[font="Courier New"]sp_msforeachdb @command1 = 'Select table_schema, table_name, column_name, data_type from INFORMATION_SCHEMA.COLUMNS'[/font]
Here's an article about sp_msforeachdb: http://www.databasejournal.com/features/mssql/article.php/3441031
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
August 4, 2008 at 2:22 pm
By default in SQL Server when you create a Primary Key it creates a CLUSTERED index. You can define the Primary Key to be non-clustered. Each table can...
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
August 4, 2008 at 2:13 pm
There is a transaction it is just an implicit transaction that is being rolled back. In SQL Server 2005 you can use TRY CATCH error handling which I think...
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
August 4, 2008 at 1:14 pm
Most SQL Server DBA's use SSMS because it is a good tool for managing SQL Server. There are other tools out there, but most of the good ones are...
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
August 4, 2008 at 1:12 pm
A table scan in SQL Server means that the Query Processor has to read every row in a table in order to determine if the row should be returned by...
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
August 4, 2008 at 1:08 pm
They do the same thing, just a slightly different syntax. I prefer using Convert. I believe CAST is more widely implemented by other database platforms.
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
August 4, 2008 at 1:04 pm
I'd go with the lazy, as there is no way to do that.
I don't know if this works in SQL 2000 QA, but in SSMS you can drag the columns...
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
August 4, 2008 at 12:35 pm
Viewing 15 posts - 8,116 through 8,130 (of 9,643 total)