Archived Months
March 2003
April 2003
May 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
all groups > sql server (microsoft) > november 2005

Filter by week: 1 2 3 4 5

Not seeing index
Posted by yitzak at 11/29/2005 7:41:48 AM
Hi I'm baffled by this one. I have put an index on one column. When I query the table using the indexed column in the where clause it does not use the index(slow). If I put "(index=ix_tbl_col) where col = 2 " it does Correctly use the index and is much faster. I've run dbcc checkdb, up...more >>


SQL 2005 stored procedure
Posted by Andy at 11/25/2005 9:54:55 AM
Hi everyone, it seems to be something really simple, but I'm hitting the wall here. Where does sql 2005 actually keep stored procedures code? The issue is: When I change the code of SP from SQL Management Studio it works fine. I can modify code without any problems. But when I connect to sql se...more >>

Looking at previous records
Posted by stevebuy NO[at]SPAM eircom.net at 11/23/2005 7:23:28 AM
Hi, I was hoping someone would point me in the right direction. I have table with a few million records. Each record has a timestamp field. I want to be able to calculate what is the average time between all the timestamps in the table. It is further complicated by needing to remove from the ...more >>

Composing a date from date parts
Posted by aroraamit81 NO[at]SPAM gmail.com at 11/23/2005 3:44:37 AM
I have three date parts namely, Year Month Date/Day as integer values stored in one column each in a table in a SQL Server 2000 database. I need a function to serialize/compose/create a datetime type out of them so I could use that in a query (pseudosyntax) as below: SELECT CreateDat...more >>

Difficulty outputting in right format. -Tricky one
Posted by philipbennett25 at 11/22/2005 1:53:45 PM
Hi can anyone help me with this? I have would like to be able to output some data in a very specific way and unfortunately my SQL isn't quite up to it. The database is not SQL Server so in this case only SQL can be used. I have 2 Practically Identical tables that record test results from ...more >>

SQL; how to copy values to other fields
Posted by dbuchanan52 NO[at]SPAM hotmail.com at 11/18/2005 6:02:16 PM
Hello, I want to use SQL Query analyzer to... For a group of records matching a specific criteria I want to move values from Field1 to Field2 and change Field1 to Null. BTW: Is this the right news group for SQL questions? Thank you, dbuchanan ...more >>

Synchronising SQL Server 2005 Express & SQL Server Mobile
Posted by Paul Aspinall at 11/18/2005 11:12:28 AM
Hi I am looking for info. on how to synchronise a database on SQL Server 2005 Express, to SQL Server Mobile on my PDA. I want to have an application which can either update the data on either version, and have them synchronise back to each other. Can anyone point me in the right direction...more >>

2005 install: OLTP sample but not OLAP?
Posted by eric_mamet_test NO[at]SPAM yahoo.co.uk at 11/18/2005 6:03:55 AM
I Installed SQL Server 2005 developer without specifying anything, hence I missed the samples. I then re-run part of the installation specifying the sample databases and scripts. Now the situation is that I have the AdventureWorks and AdventureWorksDW databases, I have the SQL Server Report S...more >>



SQL Express on Windows 2000 Pro
Posted by rlg at 11/14/2005 11:01:28 AM
Good day, I was just reading the minimum requirements for the SQL Server 2005 versions and was floored to discover that SQL Express will not run on Windows 2000 Professional (http://www.microsoft.com/sql/editions/express/sysreqs.mspx). Could this be a typo?!?!? SQL Server 2005 Workgroup a...more >>

Get Column Names as Row Value
Posted by Hiten at 11/14/2005 5:38:20 AM
Friends, I have a wierd query, atleast wierd for me. I have a stored procedure where I am passing parameters and updating a record. It may happen that not every column values is being updated. Before firing the update statement I want to have name of columns, that are going to chan...more >>

Case Sensitivity in 2005 express
Posted by cwertman NO[at]SPAM yahoo.com at 11/13/2005 6:59:52 PM
I am trying to figure out how to make a column in SQL 2005 Express case sensitive. I am a little lost on where to set it to what as a has a different meaing / value than A and so on and so forth. Collation ? But which and where to set ? Thanks Chris ...more >>

How to restore Values to Table based on some Query
Posted by vinoth NO[at]SPAM gsdindia.com at 11/12/2005 4:17:07 AM
Hi, I have a table called A and another Table Called B. A table has the following Column and Values ID One Two Three ---------------------------------------------- 10 test01 test02 test03 11 test11 test12 test13 12 test21 test22...more >>

Nice monitoring tool for SQL Servers
Posted by cutebaby at 11/10/2005 8:36:09 AM
Need monitoring tool for the SQL Servers what can monitor 15-20 SQL Servers together and at least check the following: - structural integrity/other DB errors; - query blocking; - DB/Log size increasing. It would be perfect if tool can help to find out the reason why it have happen; - it w...more >>

running too many statements. is there a better way?
Posted by Dica at 11/9/2005 10:07:16 AM
say i want to produce a report for a video rental store showing all customers and how many movies they rent from each genre. i want a report that looks like this: [Customer Name] [Drama] [Action] [Comedy] Rick B 2 17 0 Tracey K ...more >>

Client does not reconnect to SQL Server after Network interruption
Posted by microteq at 11/9/2005 5:39:05 AM
Hi, Our VB.NET program onnects to SQL Server SP4 via OLEDB. When we open a connection and then we have a network interruption of min 10secs during the open connection (what happens sometimes at the customer site), we get a General Network Error when we try to execute the next query. Even when...more >>

Limits of SQL Server MSDE?
Posted by NetPerson at 11/9/2005 5:34:23 AM
What are the performance limits and how do they manifest themselves? Our school is running a database on MSDE (about 3 years old) and users are complaining of performance degradation - freezing, hiccups, etc. The main .ldf is now 2.3GB big which I understand to be above the limit. I never see m...more >>

MSDE Table Creation
Posted by shiljo.ap NO[at]SPAM gmail.com at 11/8/2005 10:15:38 PM
I got MSDE in my web control panal with database name and admin user. i don't know how to create table or select from the table. i need snipt codes to create a table. thanks in advance ...more >>

reattaching woes on SQL 2000 SP3a
Posted by RTL at 11/8/2005 12:00:00 AM
Hello all, One of our databases ate up about 9GB of a partition which caused havoc with several network processes (like cannot print,etc). Normally, I detach the database, delete the log file and then reattach and let it recreate the ldb file. All has been working great. The problem is that...more >>

Performance problem with real time application
Posted by Kurzweil at 11/8/2005 12:00:00 AM
We are using Sql Server 2000 on a dual processor machine. On one sql connection there is a real time application executing 5 queries every 100 milliseconds. On a second sql connection there are queries that take 2 seconds to execute every 10 minutes or so. The problem we have is that when...more >>

DELETING 100 million from a table weekly SQl SERVER 2000
Posted by harish at 11/4/2005 7:51:01 PM
DELETING 100 million from a table weekly SQl SERVER 2000 Hi All We have a table in SQL SERVER 2000 which has about 250 million records and this will be growing by 100 million every week. At a time the table should contain just 13 weeks of data. when the 14th week data needs to be loaded the...more >>

2000 server uses all available memory
Posted by Big Cone at 11/3/2005 11:45:04 AM
After a restart, the server will run ok for a few minutes then hit full memory usage. we have plenty of memory and only a small intranet app running. We do have some large unused databases What can it be? thanks ...more >>

Calculate distance between 2 postal codes
Posted by visitshahan NO[at]SPAM gmail.com at 11/1/2005 10:44:01 AM
I am doing my own dating site. I will like to add the functionality similar to other sites. Where a user can make a search to get people near a certain address. I don't know where to start, or if MSSQL provides any built in methods or procedures to do such calculations. Any one with any clue? ...more >>

GRANT permissions
Posted by bill at 11/1/2005 12:00:00 AM
What is the syntax to allow a user to execute any stored procedure or select any view in a database? Thanks ...more >>


DevelopmentNow Blog