Viewing 15 posts - 48,601 through 48,615 (of 49,552 total)
Wouldn't need any scripting.
Set up snapshot replication from the 2005 machine to a 2000 machine. Snapshot copies the entire database across, structure and data. Then back that 2000 database...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 14, 2007 at 8:29 am
Here's a way out idea.
How about replication to a 2000 server that you control? Then you can take a backup of that and send it off. Even if you just...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 14, 2007 at 7:42 am
The underlying structure of the code to create the databases is basically the same.
The code may be basically the same, but the structure of the database, specifically around the system tables...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 14, 2007 at 3:50 am
What's the server's collation and what's the database's collation?
You can get these errors wen those two are different and a temp table is used, or a query uses a worktable...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 14, 2007 at 2:09 am
What's the error you get?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 12, 2007 at 4:19 am
What are the specs of the prod and dev servers? how much memory is allocated to SQL on each of them? Is there anything else running on those servers?
I'd run...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 12, 2007 at 4:10 am
What are you trying to create an endpoint for?
According to Books Online, the syntax for a TSQL endpoint is
CREATE ENDPOINT endPointName [ AUTHORIZATION login ]
[ STATE = { STARTED | STOPPED...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 12, 2007 at 2:33 am
I'll dig into schemas, if I get a chance. See if I can figure anything out. XML is not something I've worked much with though.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 12, 2007 at 12:01 am
I would advise against automating a kill script. I've been in that situation. Best thing is to resolve the cause of the problem, not to have an automated process to...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 11, 2007 at 11:59 pm
2) Use of both distinct and union - each require tempdb and sorting --> inefficient.
the optimiser is smart enough not to do both. In cases I've seen like this there's...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 8, 2007 at 7:56 am
If you have a deadlock, SQL's own internal deadlock detector will detect the deadlock, pick a victim and kill that connection. You don't have to do anything.
Or are you talking...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 8, 2007 at 2:52 am
When I tried it, with the schema I got no rows, without it your query returned one row.
Is the xml column bound to a schema?
-- Test code
CREATE
...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2007 at 11:51 pm
Best this is to run the query in management studio withn the execution plan enabled and look at where the high costs are. That should give you some indication where...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2007 at 7:49 am
Please don't cross-post
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=65&messageid=371682
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2007 at 5:43 am
You have both union and distinct. With union, distinct is redundent, since union removes duplicates anyway.
Do the views retrun duplicate data? If not, you can remove the distincts
Is there any chance of...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2007 at 4:32 am
Viewing 15 posts - 48,601 through 48,615 (of 49,552 total)