all groups > sql server (microsoft) > february 2006 > threads for february 22 - 28, 2006
Filter by week: 1 2 3 4
Processes blocked on tempdb resources and can't rollback
Posted by pshroads NO[at]SPAM gmail.com at 2/28/2006 8:15:16 AM
I have a strange situation. A SPID is blocking 3 other SPIDs. The
blocking SPID's lastwaittype is PAGELATCH_UP and the waittype is 0x0413
(Update buffer page latch). The waitresource is 2:1:444 indicating
something in tempdb.
The blocked SPIDs all have the exact same lastwaittype, waittype and... more >>
data type, real
Posted by zamdrist NO[at]SPAM gmail.com at 2/28/2006 7:24:20 AM
Why is it when I do a 'return all rows' from a table that contains a
data type column of Real I get 0.031, but when I Select All from Query
analyzer I get 3.0999999E-2?
I'm trying to perform a caluculation like:
Cost = (tblAreaCodeRateMatrix.Rate /60) * Duration
Where Rate is Cost/Minute ... more >>
Question on LDF file size
Posted by star at 2/28/2006 6:09:56 AM
I have a database which has the data of size of 50GB. This doesn't
change daily as we delete millions of records and add new records so
the mdf size almost remains constant. Now the log file (ldf) size
changes, mostly during the weekend this change occurs. Last before
saturday ldf size was 0.01G... more >>
Renaming field in MSSQL
Posted by Sonnich at 2/27/2006 8:19:15 AM
How do I do that?
alter table sdfgsdf rename a to b?
S
... more >>
DB File did not grow automatically
Posted by ddonck NO[at]SPAM hotmail.com at 2/26/2006 10:11:45 PM
Hi there,
Recently I ran into the following problem. I have a database with
transaction log files that are set to "automatically grow with 10%". I
was doing a data transfer which took a lot of transaction log. At first
the file grew automatically, but then the data transfer failed with the
er... more >>
log backup not getting rid of 'free' space, why?
Posted by mag1kus NO[at]SPAM yahoo.com at 2/26/2006 6:12:10 PM
Hi everyone, I was hoping someone could help me.
I am having problems with my transaction log not shrinking after a log
backup has taken place. The log backups are usually of size 400 Mb at
7:00am and generate further 6 MB (approx.) log backups each half hour.
The log file is usually of size 3... more >>
Query
Posted by Rich Mogy at 2/25/2006 4:19:18 AM
Hi All,
I have a table that has records for commission splits on products -- one
record for each person involved in the product and his split
Product Person Split
123 100 50
123 101 50
124 102 72
124 101 ... more >>
SQL 2000 equivalent of "Last(x)"
Posted by RTL at 2/24/2006 8:20:12 PM
I can't seem to find that command in the SQL 2000 reference. By chance,
would any gurus know it? I have a query that is producing very bad reports
(off by 30K) with a query that _should be_ functionally equivalent; but is
not it seems. The only inherent difference is the Access SQL call uses
Las... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
replication of system
Posted by JIM.H. at 2/24/2006 8:06:39 PM
Our APS.Net eCommerce application runs on a web server that reaches SQL
Server in our network. We are looking for options to have two different
web
servers and Database servers so that if we have a problem in one web
server
or a database server, the other will still continue to serve our
cli... more >>
Need help with CDONTS or other object to receive mail in a specific way
Posted by Vanessa Lee at 2/24/2006 2:19:27 PM
Hello,
Is it possible to write a script using CONDTS object to read all emails from
the SMTP IIS "Drop" folder without changing the username and email address
in LogonSMTP? or is there completely another way to do it. Here is what I
want exactly the program to do:
I just want to have one sc... more >>
Memory Allocation - Win2k3 SP1 and SQL Server 2K SP4
Posted by nicholasbecker NO[at]SPAM gmail.com at 2/24/2006 12:33:02 PM
I have a SQL Server cluster with 4 Dual Core 3.0Ghz Processors and 8 GB
of RAM. I have PAE and AWE enabled on the server, but I cannot get SQL
Server to access more than 4GB of RAM (using perfmon- SQLServer:Memory
Manager/Total Server Memory). I would like to allocate nearly all of
the availab... more >>
how to give aspnet user permissions for sql server express?
Posted by Steve at 2/24/2006 8:38:17 AM
I posted this on the asp.net 2.0 forum but received no reply.
My asp.net 2.0 application works perfectly well offline.
When I put it online, I get a message that
Cannot open database "mydatabase" requested by the login
I realize it's a permission problem, but I am a bit confused as to what... more >>
Newby Question:MSDE program and data file versions...
Posted by Ferret Face at 2/23/2006 6:29:50 PM
Is it possible to have the MSDE 2000 (v8.0) database access (that means =
successfully connect to) database files from MSDE 1.0 (v7.0)? (i.e. =
backups are in v7.0 format and the new database serve is v8.0)
If so, how?
TIA...... more >>
String Concatinating Within Fetch Loop
Posted by Nate.Strack NO[at]SPAM gmail.com at 2/23/2006 8:06:49 AM
Ok i'm trying to make a list of names in one var something like this
DECLARE @NAME_LIST VARCHAR(5000)
DECLARE @NAME VARCHAR(30)
DECLARE NAMES CURSOR FOR
SELECT FIRSTNAME FROM MAIN_NAMES
OPEN NAMES
FETCH NEXT FROM NAMES
INTO @NAME
WHILE @@FETCH_STATUS = 0
BEGIN
SET @NAME_LIST = RTR... more >>
newbie sql server job step command to copy dated records to another table
Posted by frowg at 2/22/2006 2:55:36 PM
We have an application where we are trying to copy old appointments to
a history table on a nightly basis at 2:00 am.
In SQL 2000 Enterprise Mgr, Managment, Jobs we've created a job with
just one step.
The step is of type TSQL and the command is as follows:
INSERT INTO TempAppt
SELECT * FR... more >>
Indentity field + update statement = error?
Posted by tomdesmet NO[at]SPAM gmail.com at 2/22/2006 12:30:13 PM
Hi,
I have a website programmed in ASP.Net (VB.Net) where I use an SQL
UPDATE statement saying something like this:
UPDATE table1 SET blabla = 'hola' WHERE id = 11
The error returned is: Input string was not in a correct format.
Seems like a normal easy error to solve, but it just won'... more >>
Option to take database offline is missing
Posted by Admin Matt at 2/22/2006 12:08:10 PM
We are running SQL Server 2000. I can take all databases offline in SQL
Server Enterprise Manager except once. The option is not even there on
the menu for that database. Does anyone know why this would happen?
... more >>
More opimized query between these two EXISTS and TOP
Posted by binoj7 NO[at]SPAM gmail.com at 2/22/2006 12:01:38 PM
Which would be more optimized of the two queries given below when using
T-Sql
IF (SELECT TOP 1 1 FROM table_name WHERE column_name = 'xxx')
BEGIN
-- code here
END
OR
IF EXISTS (SELECT 1 FROM table_name WHERE column_name = 'xxx')
BEGIN
-- code here
END
Of course IF EXISTS (SE... more >>
|