sqlloginpermissions.blogspot.com
sql login permissions: Long wait times for simple SQL on 2005
http://sqlloginpermissions.blogspot.com/2012/03/long-wait-times-for-simple-sql-on-2005.html
Friday, March 30, 2012. Long wait times for simple SQL on 2005. I have an existing application deployed on many SQL 2000 servers running without issue. We installed SQL 2005 (8 way DualCore) and the most simple trivial SQL statements are taking an extreme amount of time (e.g. an identical query in 2000 took 10 ms is taking a couple of minutes in 2005). The data in the tables being queried are very small (low row count 400; and low row size 1k). Can you include more details on the queries. PAGE ORIENTATIO...
sqlloginpermissions.blogspot.com
sql login permissions: Long time for flush IDES
http://sqlloginpermissions.blogspot.com/2012/03/long-time-for-flush-ides.html
Friday, March 30, 2012. Long time for flush IDES. I notice, sometimes, spikes in transaction time on production database. Usual. Transaction time is 30 ms, but sometimes its go up to 100-400 ms. When I look. Into backup of log files (I use Log Explorer), to see whats happened during. That transactions, I see what most of time was spend for "flush IDES". Operation. The operation do some changes in sysindexes table - what it change. Turned off autoupdate statistics option, create statistic option, and torn.
sqlloginpermissions.blogspot.com
sql login permissions: Long text column not accepting
http://sqlloginpermissions.blogspot.com/2012/03/long-text-column-not-accepting.html
Friday, March 30, 2012. Long text column not accepting. I am very new in SQL server. I created a table where one column is varchar(8000). But when I am trying to insert value from enterprise manager this column cann't accept a long text value. I counted that its' capacity is 1012 charecters. I have tried a lot but don't know how to solve this. I really need help from you. Pls help. What's the total length of your record? Thanx friends. From Query Analyzer it worked. And how large is "very large"? Long ti...
sqlloginpermissions.blogspot.com
sql login permissions: Long time for flush IDES
http://sqlloginpermissions.blogspot.com/2012/03/long-time-for-flush-ides_30.html
Friday, March 30, 2012. Long time for flush IDES. I notice, sometimes, spikes in transaction time on production database. Usual. Transaction time is 30 ms, but sometimes its go up to 100-400 ms. When I look. Into backup of log files (I use Log Explorer), to see whats happened during. That transactions, I see what most of time was spend for "flush IDES". Operation. The operation do some changes in sysindexes table - what it change. Turned off autoupdate statistics option, create statistic option, and torn.
sqlloginpermissions.blogspot.com
sql login permissions: long transaction
http://sqlloginpermissions.blogspot.com/2012/03/long-transaction.html
Friday, March 30, 2012. I am still not very proficient in SQLServer. So apology if the. We have a script to clean old unwanted data. It basically deletes. All rows which are more than 2 weeks old. It deletes data from. 33 tables and the number of rows in each table runs into few millions. What I see in the script (not written by me :-) ) is that all data is. Deleted within a single BEGIN TRANSACTION and COMMIT TRANSACTION. As. I have background in informix, such an action in Informix may result. As you p...
sqlloginpermissions.blogspot.com
sql login permissions: Long text
http://sqlloginpermissions.blogspot.com/2012/03/long-text_30.html
Friday, March 30, 2012. I have written a UDF that calls itself and nests its operation. The output. Is a varchar value in XML format. But sometimes the XML is more than 8000. Characters and varchar is small for that. It is not possible to use text. Data type. What can I do? Any help would be greatly appreciated,. LeilaCan you form the XML using FOR XML instead of your own recursive UDF? Http:/ www.sqljunkies.com/weblog/amachanic. Leila" leilas@.hotpop.com wrote in message. Data type. What can I do? Is a ...
loggingqueryerrors.blogspot.com
Logging query errors: February 2012
http://loggingqueryerrors.blogspot.com/2012_02_01_archive.html
Friday, February 24, 2012. I want to do a logical comparison between two tinyint-columns in a select. With logical I mean: if a bit in the tinyints are both 1 then comparison is. 00001000 and 11000001 = false. Can this be done in SQLServer? FrankThe bitwise AND logical operator in SQL Server is '& #039;. This expects integer. Values. Converting your binary values to integer:. IF 8 and 193 = 193 PRINT 'true' ELSE PRINT 'false'. IF 170 and 2 = 2 PRINT 'true' ELSE PRINT 'false'. 00001000 and 11000001 = false.
sqlloginpermissions.blogspot.com
sql login permissions: long time process - what's the progress?
http://sqlloginpermissions.blogspot.com/2012/03/long-time-process-whats-progress.html
Friday, March 30, 2012. Long time process - what's the progress? SQL 2005 Std. Linked server to iSeries. I have run INSERT INTO sql. Table SELECT * FROM [I].[SERIES].[TA].[BLE]. There are about 23mln records to copy. Is been running for the last. Half an hour and I would like to check what the progress is. Is there. Any way of doing this? SELECT COUNT(*) FROM sql table WITH(NOLOCK). The result is zero. I guess that the whole import is being done through. To see the progress. To see the progress. Long wai...
sqlloginpermissions.blogspot.com
sql login permissions: Long waits on LATCH_EX and CXPACKET
http://sqlloginpermissions.blogspot.com/2012/03/long-waits-on-latchex-and-cxpacket.html
Friday, March 30, 2012. Long waits on LATCH EX and CXPACKET. I executed 'DBCC SQLPERF(WAITSTATS)' command. After I looked at results, I. Was quite surprised. Lots of waiting on LATCH EX, with average wait time 102. Ms, and lots of waiting on CXPACKET, with average wait time 78 ms. What can. Be reasons of such behavior, how to remove this waits? Below is results of. 039;DBCC SQLPERF(WAITSTATS)' command. Wait Type Requests Wait Time. MISCELLANEOUS 100.0 0.0. LCK M SCH S 22.0 50424.0. DTC 00 0.0. SHUTDOWN 0...
sqlloginpermissions.blogspot.com
sql login permissions: Long text in "Default value or Binding"
http://sqlloginpermissions.blogspot.com/2012/03/long-text-in-default-value-or-binding.html
Friday, March 30, 2012. Long text in "Default value or Binding". Hey guys, how can I use a long text as default value in my database (column properties)? I tried to paste my 10 row text into the field but it will only paste the first row as default value. What's the data type and data length of the column to which you paste text? And where did you paste your 10 row text into database? SQL Server Mgmt-studio - Column Properties - default value or binding. Just a lil frustrating :). OK now I understand you.