Viewing 15 posts - 4,516 through 4,530 (of 9,643 total)
Those are the places I know of where you can retrieve information about the SPID. Well those and using the @@SPID function.
I'm still not sure what you mean 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 3, 2009 at 2:07 pm
I'm not sure I know how to formulate a question that will help me help this guy. Anyone else want to jump 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
August 3, 2009 at 2:00 pm
I'd guess that they were in different schemas. Was this 2000 or 2005?
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 3, 2009 at 1:33 pm
I would typically use a stored procedure and set the columns in the stored procedure. You could also have the application pass the values using ad hoc sql. ...
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 3, 2009 at 10:02 am
What are you doing in the transaction? Queries are supposed to take locks to maintain consistency.
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 3, 2009 at 9:59 am
I'm not sure what you are asking. You can see the SPID as session_id in sys.dm_exec_sessions, sys.dm_exec_requests, and sys.dm_exec_connections.
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 3, 2009 at 9:57 am
Michelle Ufford (@sqlfool on Twitter) has an excellent index maintenance script[/url] on her blog[/url]. I'd recommend looking at it.
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 3, 2009 at 9:50 am
Seems to work okay, although it does seem to get the coloring (colouring for you Brits) messed up with multiple single quotes.
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 3, 2009 at 9:46 am
You are mixing datatypes in the SUM. You cannot sum a string, in your case "0". On your other thread I provided an expression that works. You...
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 3, 2009 at 9:44 am
If the parameters should always return a value then I don't why you would get a NULL without an error. A deadlock or lock timeout should return an error...
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 3, 2009 at 9:40 am
Sounds like you want something like this:
=SUM(iif((Fields!PERIODID.Value=1) and (Fields!Year1.Value = Parameters!Year.Value), CDbl(Fields!Cost_Code_Actual_Cost.Value), CDbl(0)))
you can convert to whatever datatype you need.
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 3, 2009 at 9:33 am
Duplicate post. Please post answers 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
August 3, 2009 at 9:23 am
It sounds like you just want the count of properties from a specific municipality so your query should be this (note, I changed to standard ANSI join syntax as the...
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 3, 2009 at 9:22 am
Some of those items are not available in 2000 (lockout, password change, etc...).
In SQL Server 2005/2008 you should start with sys.server_principals. This will give name, create_date, and modify_date. ...
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 3, 2009 at 9:13 am
I can think of 1 reason to keep it in a trigger, someone does an update to that column outside the excel spreadsheet.
As far as performance, the only issue I...
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 3, 2009 at 8:52 am
Viewing 15 posts - 4,516 through 4,530 (of 9,643 total)