Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


Archived Months
March 2003
April 2003
June 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
November 2007


all groups > sqlserver server > september 2005

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

How to insert data from another table
Posted by ad at 9/30/2005 10:00:49 PM
I want to Insert data from another table, I use the statement: insert into YearsClass (Years,Class) (Select distinct Years, ClassID from St) but it fail. How can I do? ...more >>

Server admin app?
Posted by Steve at 9/30/2005 8:52:22 PM
Is there a freely available version of SQL Server Enterprise Manager which will allow me to connect to existing SQL Servers (for SQL Server 7.0)? ...more >>

SQL doubling as a file server.
Posted by ChrisR at 9/30/2005 8:13:01 PM
Help! It was determined today (without my presence) that my SQL cluster would begin doubling as a file server of Rich Text and HTML files. There's lots of politics as to why they wont be stored as Blobs in SQL, so I'm not going to go down that road. I will be in a meeting Monday morning "discu...more >>

ODBC vs OLEDB driver for SQLserver
Posted by jcvoon at 9/30/2005 7:29:01 PM
Hi: Which is the preferable driver to connect to the latest SQLServer (SQL2000) ? I have an application written in vb6, some of the data entry screen hang (but most of the time it work perfectly), we have to clear off all the sql connection from Enterprise manager and relogin into the syste...more >>

Suspect msdb
Posted by Carlos Mendes at 9/30/2005 6:39:39 PM
I have a SQL 2000 Server with a msdb database status of SUSPECT. I already found a way of reseting its status in the master database, but still can't recover it as it is in use. I tried to stop the server and remove the mdf and ldf files in to another directory so that I could run a script th...more >>

word xp
Posted by Fernand St-Georges at 9/30/2005 6:02:02 PM
I have Sql Server 2000 and Word from Office Xp. Since a few weeks, I cannot import Data from my database towards a Word document. I follow the procedure, but at the end, it tells me Word cannot find the data source. If I use Excel, well it works perfectly. What is the gig? thanks ...more >>

How to use two keys in subquery
Posted by ad at 9/30/2005 5:21:16 PM
I can use a key in subquery, like Select * from Employees where key1 in (Select key1,from SalesPerson) But if I have two keys like Select * from Employees where key1 and key2 in (Select key1, key2 from SalesPerson..) The above is wrong, but how can I do it? ...more >>

How to configur a column to be unique value from the Enterprize Ma
Posted by Alpha at 9/30/2005 5:01:01 PM
Hi, I want one of the column in a table to not have duplicate values(it's Varchar) but it's not the primary key column which is a auto-generated id column for the table. Thanks, Alpha...more >>



Scheduling an sp
Posted by dan artuso at 9/30/2005 3:08:50 PM
Hi All, I hope I can explain this well. I have an sp that populates certain tables with historical data and I've scheduled a job (using EM) that runs this sp on the first day of each quarter. My question is, within the sp, if anything goes wrong, I do a rollback and issue a Return(5). Will ...more >>

Database is running slow after running DBCC Shrinkdatabase command
Posted by Diane Walker at 9/30/2005 2:46:53 PM
We have SQL 2000 Enterprise Edition running on Windows 2000 Server. I ran the DBCC Shrinkdatabase command last week. Now, the database is slow when I open one of the work orders. Do you have any recommendation on how to fix the slowness? Am I doing something incorrectly? I ran the followi...more >>

AWE and the SP4...
Posted by Larry Smith at 9/30/2005 2:39:13 PM
When the SQL Server SP4 was released I was informed it had some issues with AWE. Is those issues are still exist? Is it safe to installs SP4? My SQL Server installation left with default AWE settings (value of 0). Since AWE is not enabled, applying SP4 should not be any issue in my case. ...more >>

updating a dB with data from another dB that's not linked
Posted by Bogus0 at 9/30/2005 2:22:02 PM
I'm writing a simle utility. I'm given two sql scripts. The first returns a result set from a database (database A). The second script uses the result set and executes sql using each row of the result set for another database (database B). Database A and B are NOT linked servers and they w...more >>

Defrag on SQL Server.....
Posted by Larry Smith at 9/30/2005 2:09:51 PM
I am periodically getting the complaints that SQL Server is slow. As a performance improvements I decided to run the defrag utility. Never run on this server from years. How to know that defrag need to be run? How to prove there is an excessive physical file fragmentation on a Windows 2K? SQL ...more >>

sql server scan
Posted by Eli Milkova at 9/30/2005 1:44:02 PM
Hi experts, What AD query I should run to encounter all sql instances registered and running in our domain? What tools I should use for sql instances search in AD? Any conserns queryng all AD? Thanks in advance ...more >>

execute multiple queries over a single connection
Posted by Jack at 9/30/2005 1:20:32 PM
Hi! Is SQL Server 2000, just a toy? Accordind validation tests it needs 30.000 connections to move 170 rows from Linked Server. Jack ...more >>

Please advise
Posted by DKRReddy at 9/30/2005 12:59:04 PM
Tab1 and Tab2 has the following info.ID column in Tab1 and Tab2 has matching values. Tab3 should have the info as below. Tab1 ------ ID Val1 Val2 1 qqq sa 2 aaa fa 3 ddd we Tab2 ------- ID F1 1 A 1 B 1 C 1 ...more >>

Bulk SQL Server 2000 Registration
Posted by brawtaman at 9/30/2005 12:47:04 PM
Hi All, I have about 60 or so SQL Servers to register. I don't have the option of importing from another machine. I think I maybe able to do this via SQL-DMO but not sure how to get started. Does anyone have any ideas about doing mass SQl Server registrations? Thanks....more >>

timeout expired...
Posted by Sandy Ryan at 9/30/2005 12:25:02 PM
I'm running SQL Server Development edition on my Xp SP2 machine and its having 'difficulties'... SQL Enterprise manager periodically loses connection to the local server and recently i tried to restore a reasonable size database using enterprise manager and kept getting timeout expired messa...more >>

Application Log - Overwrite as Needed
Posted by Sheila at 9/30/2005 12:24:02 PM
In the event viewer: In Application Log properties, there are options on what to do "When maximum log size is reached." I set it to "Overwrite as Needed", but the next day it is changed to "Overwrite Events Older than 5 Days." Why does it do this and how can I make it stop? It has been g...more >>

how to automate setting port for SQL Server DSN
Posted by Robert Kinesta at 9/30/2005 10:37:03 AM
I need to change the port number for a SQL Server DSN - is there a way to do this on the command line so I can have everyone run a batch file? I tried odbcconf.exe but it doesn't seem to allow for a port parameter? Thanks...more >>

Large log file
Posted by JBM at 9/30/2005 10:11:54 AM
Hi: I have a 10 GB log file that has remained exactly the same size even when database was only 2GB. Now database is 9GB. I noticed that log file was not alloed to grow in Enterprise Manager and that our recovery mode was full. My Questions are My SQL server recovery is set to full. What s...more >>

Convert Access 2003 Function
Posted by dj5md at 9/30/2005 9:57:04 AM
I am converting an Access DB to SQL2000 and opne of the queries uses the Format$ function. How should the syntax be for SQL? Access: Format$(TimeTrackerEntry.EntryDate,'yyyymm') AS EntryMonth...more >>

Alternative to Temporary table to store stored procedure results
Posted by c.williamson NO[at]SPAM dialaphone.com at 9/30/2005 9:43:23 AM
I have come across the error "INSERT EXEC statement cannot be nested" when trying to store the results of a stored procedure in a temporary table. I understand why this is happening - because there is already an INSERT EXEC in the stored procedure I am executing - but I need to be able to store...more >>

Deadlocks after upgrade to SQLServer 2000
Posted by Patrick at 9/30/2005 9:28:08 AM
Hi, Since we upgraded from SQLServer 7 to 2000 we get deadlocks that we didnt get before. After upgrading we did a transfer of the database, rebuild indexes, update statistics. As much as I know, nothing has changed in our application code. Maybe someone can help? Here is an example: ...more >>

Where is DB CHECK error description?
Posted by Wacek at 9/30/2005 9:02:55 AM
I have message (from DB CHECK job): DBCC CHECKDB (KXP) executed by NT AUTHORITY\SYSTEM found 10 errors and repaired 0 errors. Where can I read description of this errors? Best regards Wacek (sorry for my 'african' english) ...more >>

Moving Jobs
Posted by Emma at 9/30/2005 8:57:10 AM
How can I move scheduled jobs and DB Maintgenance Plan from one server to another? Thanks Emma...more >>

SQL DB CHECK Error descriprion
Posted by Wacek at 9/30/2005 8:50:45 AM
I have message (from DB CHECK job): DBCC CHECKDB (KXP) executed by NT AUTHORITY\SYSTEM found 10 errors and repaired 0 errors. Where can I read description of this errors? Best regards Wacek (sorry for my 'african' english) ...more >>

SQL Server 2005 and IIS (Report Server & Report Manager)
Posted by James Mueller at 9/30/2005 8:07:03 AM
We are trying to publish our VS.Net Report project and VS.Net is erroring out specifying that the IIS Site can't be contacted. When we browse to the IIS site and try to access the home.aspx page under Report Manager we receive a 404 error. We have ensure that the verify if file exists isn...more >>

Create table and Index
Posted by mvs at 9/30/2005 7:44:02 AM
Hello, I am using SQL server 2000 with SP4. I am running create table and index as below CREATE TABLE dbo.ttcmcs045777 (t_creg CHAR(3) NOT NULL,t_dsca CHAR(30) NOT NULL,t_Refcntd INTEGER NOT NULL,t_Refcntu INTEGER NOT NULL) ON TEST CREATE UNIQUE CLUSTERED INDEX Ittcmcs045777_1a ON dbo.ttc...more >>

Between database servers
Posted by Matthew Z at 9/30/2005 7:09:03 AM
Hi all, I like to access a production database server from my development database, I need to count how fast one table in the production table grows, is there any way to do it without actually getting on the production server? linked server? Thanks....more >>

Restart the SQL Server
Posted by Matthew Z at 9/30/2005 6:40:02 AM
Good morning all, I want my server restart every sunday at 12 am, is there any one knows how to make the schedule (in Windows I believe)? Thanks a lot....more >>

single mdf file database restore
Posted by Centricity at 9/30/2005 6:20:02 AM
The DCMARCH1.ldf file got corrupted I only have DCMARCH1.mdf file. I have a full-backup on tape. space required on disk is 98GB and space available on disk is just a little bit more (maybe couple of mb's) than 98 GB. When doing a restore from tape I can see the 6 GB Mdf file being created a...more >>

Copying tables from another database
Posted by accyboy1981 NO[at]SPAM gmail.com at 9/30/2005 5:52:04 AM
Hi, I'm trying to copy the data of a table into another table in another database. I.E. Copy contents of database1.table1 into database2.table1 I've got a table in database2 that lists the tables that need to be copied. I'm running a store proceedure that reads each record in the table a...more >>

Database Locking
Posted by atif.aqeel NO[at]SPAM gmail.com at 9/30/2005 5:46:12 AM
Hi I have to run EOD i.e End of Day, a VB 6.0 Application(ADO 2.6) with SQL Server 2000 I want to lock the Database, full/complete Database, there are more than 100 tables so locking them one by one would not be the ideal solution(i think) the requirement is i - all currently logged i...more >>

Decare @A
Posted by Stanley at 9/30/2005 4:51:25 AM
Hi all! I'm trying to set the value of @d to a value from col1 in tblTest. I have tried the following code but it didn't work. DECLARE @d VARCHAR(25) SELECT * FROM tblTest SET @d = tblTest.col1 Someone please help me! Thanks! ...more >>

Joining two tables
Posted by Prince at 9/30/2005 3:53:53 AM
Hi all, Can anyone tell how to join two tables where first table is in db1 and second table in db2.. Looking forward for ur response.. Thanx in advance... ...more >>

Administrate SQL Server 2005 only with client tools
Posted by Lonifasiko at 9/30/2005 2:36:02 AM
Can I administrate a remote SQL Server 2005 from my machine after installing Native Client tools only? Is there any "Enterprise-Manager" like environment after installing client tools utility? I'm also running SQL Server 2000 on my machine. Any problems here or incompatibilities with 2000 and ...more >>

backup exec fails (though having the sql addon)
Posted by Perry at 9/30/2005 1:00:45 AM
Hi group Working with backup exec 10, sql agent and advanced open file options included to backup our databases. We have 11 SQL databases varying in size from 200 to 5000mb. There is one new dbase which is the database for a website that is now not being backed up (size, approx 1.5 GB), thi...more >>

Restore from 1 filegroup to 2
Posted by CarloVino at 9/30/2005 12:57:07 AM
I have a database with 1 filegroup (PRIMARY), I have a backup of this database and I need to restore it to a different server but it should have 2 filegroup, 1 for each for each of my 2 drives. Possible? How? Thanks in advance -- .......more >>

backup question
Posted by Joe at 9/30/2005 12:13:03 AM
Does point-in-time restore only for full recovery model? and if i use a full - backup then can i restore in any time or just the backup time? or if use transaction log , it can only to restore to the time of transaction log, can i restore one minutes before the transaction log...more >>

point in time restore error
Posted by Joe at 9/29/2005 11:16:02 PM
When i use point in time restoration, it show error STOPAT , restore og terminates why? and i can restore it without use point in time restoration!...more >>

Difference between Full recovery, Bulk-logged, Simple recovery
Posted by Joe at 9/29/2005 11:00:02 PM
Difference between Full recovery, Bulk-logged, Simple recovery...more >>

Difference between Full recovery, Bulk-logged, Simple recovery
Posted by Joe at 9/29/2005 10:59:02 PM
what is the difference between Full recovery, Bulk-logged, Simple recovery...more >>

form authentication with Reporting Service?
Posted by ad at 9/29/2005 10:50:59 PM
Can we use form authentication with Reporting Service? Is it more convenient to do with form authentication if I use Report Viewer in webapplication? ...more >>

Can we install reporting(Sql2005) Service in XP?
Posted by ad at 9/29/2005 10:49:30 PM
I can Install SQL Server 2005 (not Express) in Windows XP But I can't find Reports Virtual Directory in IIS. Can we install reporting(Sql2005) Service in XP? ...more >>

Full Text Search Index build is running too long
Posted by Brian Kitt at 9/29/2005 9:11:09 PM
I did a DTS insert from a .CSV file and loaded 10 million records into a table. I am doing a full text index on 3 columns in the table. The full text index has been populating now for 24 hours continuous. How can I tell if it's hung, or is it possible that it really takes that long to run? ...more >>

Hi,_from_México_City
Posted by Isaias at 9/29/2005 5:21:03 PM
Hi all group I can't post any comment in my MSDN GROUP (spanish): http://support.microsoft.com/newsgroups/default.aspx?ICP=GSS3&NewsGroup=microsoft.public.es.sqlserver&SLCID=ES&sd=GN&id=fh;ES-ES;NEWSGROUPS Always send me an error like this: "Sorry, the page you requested is not available...more >>

Access queries using up space on server's C: drive
Posted by Andy S. at 9/29/2005 4:48:20 PM
I have users who are running large SELECT type queries in Access against a SQL Server via ODBC. What happens is that the c:\documents and settings\<username>\Local Settings\Temp on the SQL server itself gets filled until the drive starts running low on space. Other than to free up space ...more >>

SET DATEFORMAT Not Working
Posted by dearle via SQLMonster.com at 9/29/2005 4:28:21 PM
I cannot get the following stored procedure to accept dates in the format dd/mm/yyyy. alter proc usp_test @FirstName varchar(30), @DateOfBirth datetime AS set dateformat dmy INSERT INTO tbl_test ( Name, DateOfBirth) Values ( @FirstName, @DateOfBirth) GO exec usp_test 'D...more >>

Memory Page/Sec why so high?
Posted by Ryan at 9/29/2005 3:50:01 PM
Our current system is dual 2.4GHZ Xeon with 4 GB of RAM. Data is configured in a RAID-5 Array with 4 73GB Scsi Drives running windows 2000 server(not Advance). I ran bunch counter for 2 days. Looking at our peak times Memory: Page/Sec was between 80 - 90 (multiple hours at a time). It an inter...more >>


DevelopmentNow Blog