Viewing 15 posts - 19,141 through 19,155 (of 22,202 total)
If you want to program the extraction, say using C#, get the SMO (SQL Server Management Objects) loaded into your code and you can generate create procedures for any object...
December 5, 2008 at 10:37 am
And comma delimited IN statements are notorious. Like Gail said, execution plans & structures.
December 5, 2008 at 10:35 am
The last ON clause for Table 3 is the same as the ON clause for Table 2.
Is that the problem?
December 5, 2008 at 10:33 am
No.
But which "checks" are you referring to?
December 5, 2008 at 9:03 am
SQL Server uses late binding. So if I wrote this query:
SELECT * FROM
Dinglefarb
And checked the syntax, it'll pass. But if I execute it, while resolving all the objects involved in...
December 5, 2008 at 8:59 am
Sounds like you have a syntax error within the code that allows it to compile but not execute.
December 5, 2008 at 8:34 am
It's stored in the registry, so you could query that... not a great option.
December 5, 2008 at 8:33 am
I'm not so much worried about the FK's. How do I get the data out of the structure you have defined?
December 5, 2008 at 7:55 am
I ran a test. I saw two StmtCompleted events for a proc that called sp_executesql. What I saw was a preperation statement and an execution statement. I suspect you'll see...
December 5, 2008 at 7:52 am
StmtCompleted is pretty expensive to the system. You'd be better off collecting RPC:Completed and SQL:BatchCompleted. Those two are more or less equal. StmtCompleted are the individual statements within a batch...
December 5, 2008 at 7:35 am
pat (12/5/2008)
Tables:
Person : emp_id, org_id,mgr_id,loc_id
manger : Mgr_id, Name
Location : Loc_id, disc
Organization : org_id, disc
so now the question is :
org_id for all empid belong...
December 5, 2008 at 7:32 am
I agree with everything Michael posted.
The one point I'm not sure about... From your description, does this report even use a WHERE clause when accessing the information for display? Does...
December 5, 2008 at 7:03 am
Speaking generally, it really sounds like you're on the right track using partitioning. Andy Novick (MVP, consultant, nice guy) has presented at PASS and our local users group on using...
December 5, 2008 at 6:59 am
Please do as Gail requested in order to get detailed help, but I will point out these two phrases in your post:
debjani.bedajana (12/4/2008)
December 5, 2008 at 6:53 am
pat (12/4/2008)
I am trying to update location for employee organization:
any employee that has organization field updates to the data that’s in their managers organization field
i have query but...
December 5, 2008 at 6:50 am
Viewing 15 posts - 19,141 through 19,155 (of 22,202 total)