Viewing 15 posts - 1,111 through 1,125 (of 2,052 total)
Hello,
I would encapsulate the union to a table.
The issue is that the variable can only have one value, and sql server can't decide if the values comes from the second,......
January 16, 2008 at 11:07 am
Also check available memory and other applications running on the server.
Anything special in the logs? (sql, windows)
January 15, 2008 at 2:12 pm
Try to run the stored procedure sp_who2 to find out which connections are actually running/sleeping/locked.
DBCC INPUTBUFFER (SPID) gives you the command text.
In addition you could start a sql trace with...
January 15, 2008 at 12:05 pm
You can create an index on computed columns with certain connection settings. The index will store the computed values on disk.
Check "Creating Indexes on Computed Columns" in the books online
January 9, 2008 at 10:29 am
1) Have a backup of the existing udf's,stored procs
2)
You could create a script and execute it on the other server
Enterprise manger->rightclick database->generate sqlscript
->select the udf's/stored procedures
->choose your options (be careful...
January 7, 2008 at 10:32 am
It probably has to do something with the application roles:
Application roles bypass standard permissions.
When an application role is activated for a connection by the application, the connection permanently loses...
January 4, 2008 at 10:27 am
January 3, 2008 at 10:41 am
We had it very often but now at rare moments. Suspects: some backup/replication software keeping the filesystem too busy causing a short network timeout.
Changes made from often to rare:
Updated windows...
January 3, 2008 at 10:35 am
Sql server,most other databases and recently Vista keep data in cache (empty memory=wasted memory) to operate faster by avoiding disk access. Thats why its memory usage continues to grow (in...
January 1, 2008 at 1:14 pm
Depending on frequency, you can create a linked server for it. The msaccess subforum probably holds the answer.
December 31, 2007 at 5:47 am
Dynamic queries good/bad : it depends.
Usually they give the same performance than stored procedures but lack some encapsulation. (since sql server will try to cache the plan)
For this goal, dynamic...
December 31, 2007 at 5:38 am
What is the serverpack level of win2000? Most recent windowsupdates installed?
December 31, 2007 at 5:32 am
Because the client usually dictates what the sorting will be (for a proper seperation of the data and its presentation). No need to sort it twice.
select ...
from myview
where ...
order by...
December 27, 2007 at 4:52 am
I got my replication issues fixed by reducing the batchsize from 500 to 100.
December 25, 2007 at 7:56 am
It is usually done by implementing/using a ntp-service (network time protocol)
December 24, 2007 at 10:37 am
Viewing 15 posts - 1,111 through 1,125 (of 2,052 total)