Viewing 15 posts - 871 through 885 (of 9,643 total)
My first thought was that the report was using a cached version of the report, but that wouldn't be the behavior you are describing and it wouldn't explain why 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
July 17, 2014 at 8:27 am
The only way to show all the errors is to use THROW and let the client get the error. There is a CONNECT item about it found here.
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
July 17, 2014 at 8:22 am
The only way to do this is to compare the value in that column between the inserted and deleted tables. Here's how I'd do it:
INSERT INTO [dbName].[dbo].[log_table]
...
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
July 17, 2014 at 8:13 am
SQLRNNR (7/17/2014)
Eirikur Eiriksson (7/16/2014)
Jack Corbett (7/16/2014)
Eirikur Eiriksson (7/16/2014)
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
July 17, 2014 at 7:54 am
Eirikur Eiriksson (7/16/2014)
No implied either, my respect on handling the situation! So far, JC is the only one that has managed to rub me the wrong way:-D😎
Hmmm, I hope I'm...
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
July 16, 2014 at 2:00 pm
Jason Selburg (7/16/2014)
Not saying that my approach is better, but you should always try different methods to see which performs better in your environment. ** just good practice IMHO.
I'm pretty...
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
July 16, 2014 at 1:46 pm
For the error in mine you just need to replace the max_policy_status_v_id to i because I aliased the CTE in the FROM clause.
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
July 16, 2014 at 1:31 pm
Jason Selburg (7/16/2014)
I'd also recommend coming up with another way to identify the data_set_nbr. That is what...
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
July 16, 2014 at 1:10 pm
T-SQL beginnger (7/16/2014)
Basically the reason for creating this view is to get the latest version of policy since there are a lot of of policies in...
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
July 16, 2014 at 12:57 pm
Can you provide the requirements of view? Something like:
"Return the Policy information for active policies based on the most recent status of the policy."
I know that isn't right, but...
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
July 16, 2014 at 12:29 pm
Stefan Krzywicki (7/16/2014)
I posted a question here (http://www.sqlservercentral.com/Forums/Topic1593226-391-1.aspx) on Memory Grants and Varchar(max) and I'd love to hear any opinions the people in this thread might have.
For some reason when...
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
July 16, 2014 at 12:13 pm
You don't. There really isn't way I know of to do what you are trying to do. You could look into BIML, but even then you need metadata...
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
July 16, 2014 at 10:42 am
As HanShi said, there really isn't one query (I suppose you could write one) that would get all that for you. I recommend you look at SQL Power Doc[/url]...
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
July 16, 2014 at 10:39 am
You need to work with a rows groups, http://msdn.microsoft.com/en-us/library/dd255263(v=sql.110).aspx.
Your "header" group would group on product (and any other fields you would include on the header) and in the group properties...
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
July 16, 2014 at 10:33 am
As far as I'm concerned your vendor hasn't provided any evidence for making any changes on your server.
Are you experiencing performance issues and how do you know? ...
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
July 16, 2014 at 10:28 am
Viewing 15 posts - 871 through 885 (of 9,643 total)