Viewing 15 posts - 4,951 through 4,965 (of 13,460 total)
obligatory compatibility nazi post:
sysindexes should be replaced with sys.indexes, as it's going to be dropped in some future version.
Lowell
August 13, 2012 at 2:28 pm
@Erin my knee jerk reaction was to check if there was something in the extended events to do what you are asking, but i'm just not seeing anything;
to me it...
Lowell
August 13, 2012 at 12:06 pm
they are recovered , sequentially, master database first.; but each database seems to get it's own spid to startup, and some spids finish before others spids created after it.
if one...
Lowell
August 13, 2012 at 11:55 am
also you can simply create a DML trace on the database and capture all that information as part of a couple of events i think;SQL:BatchCompleted and RPC:Completed is what...
Lowell
August 13, 2012 at 11:42 am
Erin Ramsay (8/13/2012)
Is there a way to set that DBCC inputbuffer code on the database level so that when ANY trigger fires you can get the schema name, table...
Lowell
August 13, 2012 at 11:36 am
LOL John it's feedback like that, knowing I helped someone, that really makes my day!
inside a DML trigger, it's a differnet technique, but you bet I have examples of that...
Lowell
August 13, 2012 at 10:01 am
joshphillips7145 (8/13/2012)
So the variable @SearchParam goes with the function?
it could, yes; the requirements are still a bit vague;
if this is just "how to create a function( not a stored procedure),...
Lowell
August 13, 2012 at 9:49 am
well the error implies you used a four part naming convention to reference a table/stored proc/view.
something like
SELECT * FROM SGEXP01.DatabaseName.dbo.TableName.
if SGEXP01 is a database name, then you have a...
Lowell
August 13, 2012 at 9:21 am
Well lets think it through Josh;
an end user is using some sort of search function, is that the idea?
do you need to search all the columns in your table, or...
Lowell
August 13, 2012 at 9:17 am
guerillaunit (8/13/2012)
Lowell, what exactly is a "tagname" in XML?
just like html, a tag is just a descriptor that describes or names it's contents.
only in a specific context might it...
Lowell
August 13, 2012 at 9:02 am
if you were actually building xml strings, the value inside would be a tagname for the XML.
SELECT
name
FROM sys.columns sc
FOR XML PATH('ParentTag')
One of the neat things...
Lowell
August 13, 2012 at 8:38 am
if you are seeing it in the data values , it could be some process is sending a value for the column with the default; values inserted take precendence over...
Lowell
August 10, 2012 at 2:00 pm
i couldn't duplicate the behavior yet; the tables i scripted out get teh default value with all zeros, whether in the constraint definition, the scripting of the table or in...
Lowell
August 10, 2012 at 1:59 pm
it's going to look somethign like this: i wasn't sure ont eh join criteria: i was assuming the table ztb_IMP_Notifications has the same sales_order_number
SELECT
ztb_Carrier_Delivery_Metrics.Delivery,
ztb_Carrier_Delivery_Metrics.Delivery_Item,
...
Lowell
August 10, 2012 at 11:33 am
sounds a lot like parameter sniffing;
are you able to modify the procedure?
I'd bet that by adding option (OPTIMIZE FOR (@PayrollID1 UNKNOWN)) it would build better plans.
ALTER PROCEDURE [dbo].[GetPersonalTaxesAccumulators_v2]
( @PayrollID1...
Lowell
August 10, 2012 at 9:37 am
Viewing 15 posts - 4,951 through 4,965 (of 13,460 total)