Groups | Blog | Home


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) > february 2007

Filter by week: 1 2 3 4

0 Blocking, but lots 'o locks...can that be right?
Posted by EJO at 2/28/2007 1:12:14 PM
TIA, because I really hardly know where to begin with this issue... Currently have a SQL Server 2000 system being accessed as a backend to a MS A2k mde. After about 6 years of working with relative pain-free ease, my tiny db started preventing users from being able to update one of the tables...more >>


Filtering across similar records using aggregate function
Posted by Dave at 2/26/2007 10:09:13 PM
Here is an extremely simplified copy of a table I have: Field 1 Field 2 Field 3 1 4 E 1 4 B 1 4 H 1 5 Q 2 9 O 2 8 I 2 9 U 2 8 W 3 7 F 3 6 C 3 7 Q 3 7 Z I would like to filter out the records that have the max value in Field 2 within each group of equal values in Field 1. Here i...more >>

unable to specify UNC path for restore through GUI??
Posted by KR at 2/23/2007 4:31:08 PM
Hi, After just installing sql 2005 on our test machine, I am trying to restore a database using a backup file on the network. However, the specify backup diagol box allows only for browsing to a file on the local machine - I find no way to type a UNC path to choose the backup file fro...more >>

Transaction log databseNAME_log.ldf keeps growing
Posted by nygiantswin2005 at 2/23/2007 11:03:41 AM
I have several Microsoft SQL 2000 Servers. On each servers I notice that Transaction log files for database keeps growing. We also have Symantec Backup Exec 10d with SQL Server Agent. The backup runs every night and it does a full backup of SQL Server databases. I don't understand why th...more >>

Quickly convert a single column table to a string?
Posted by mark4asp at 2/23/2007 10:04:03 AM
Is there a convenient way to convert a small single column table of zero to six rows of VarChar(50) data to a single string via a function. Each item is ideally separated by semi-colon space. Do I need to use a cursor to do this? ...more >>

WebCasts @microsoft.com
Posted by PFC Sadr at 2/22/2007 12:30:58 PM
so I've gone to view a webcast at MSFT.com about a dozen times over the past year. and from what I see; their signin information just DOES NOT WORK. you find the webcast you want; you click to view it.. and then it sends you back to select a webcast again. Plus-- if a webcast is previousl...more >>

Unintalling MS SQL server 2000---SP4
Posted by Lcuky at 2/22/2007 11:19:07 AM
Hi, I have applied SP4 on a testing box, but my application is not compatible to SP4. I want to UNINSTALL not remove the SP4 from my server. kindly, suggest the procedure for the same. Thanx in advance. ...more >>

why no CD burners or DVD burners for Backup??
Posted by PFC Sadr at 2/22/2007 6:18:34 AM
I just found this in a measure-up exam; it kinda surprised me; it seems like a no-brainer backups cannot be directly written to CD or DVD burners why is this true? ...more >>



C# SQL interface
Posted by Jon Slaughter at 2/22/2007 2:29:54 AM
I'm writing essentially a client based SQL interface(although the client accesses it indirectly). In the database there will be several different types of tables. Initially I was only going to use one table structure but I felt that it would be more productive to have it arbitrary. Now ...more >>

Drastically Different Execution Plans
Posted by rob at 2/21/2007 4:48:31 PM
Hi There, I have a query that has drastically different execution plans when run as an ad-hoc query vs. a stored procedure, is this normal? The reason I ask is because it causes the stored procedure to run extremely bad when one parameter changes. Here are some details about the query... - ...more >>

T-SQL nightmares (help needed in porting db schema from MySQL to SQL Server)
Posted by Bit Byte at 2/21/2007 12:00:00 AM
I seem to be spending too much time "Googling" for info on what should be a a fairly straight forward task - porting an mySQL db schema over to SQL Server. The T-SQL documentation I have seen so far do not give any useful (i.e. detailed enough) examples. My tables generally tend to have ind...more >>

C# and server connectivity
Posted by Jon Slaughter at 2/20/2007 11:28:45 PM
I'm writing a C# app that needs access to a remote SQL database. The issue is that I don't want users of the app to have directly access to the database because of security reasons. I do not have permissions to run any application on the server to write some interface so I don't know what t...more >>

A good program?
Posted by Jeff at 2/20/2007 8:50:47 PM
Hey folks. I used to use studio 2005 with my sql databases. HD crashed, and I don't have it anymore. Is there a good program that is free, or relativly inexpensive that I could use?? any help would be appreciated Jeff ...more >>

Adding sql files to an SSIS project?
Posted by brett at 2/20/2007 5:19:25 PM
I've created a new project in SSIS. I've saved the project to c:\DBProjects\DB1 All of the sql files are located in c:\DBProjects\DB1\sprocs When I right click the project name and select to add existing item, I point to the sprocs folder and add one sql file. When I look at the fold...more >>

SQL Server Update Query
Posted by cilevac NO[at]SPAM yahoo.ca at 2/20/2007 11:14:40 AM
I have an SQL database table that I need to perform some updates on. What I am trying to do is update one field in one table based on the information found in another table. I can run the query in Access, but I need to do this in SQL Server so that I can schedule it, either in a stored proce...more >>

SQL Express Remote Access
Posted by Q. John Chen at 2/19/2007 10:11:51 PM
I setup up an SQLExpress instance on a dedicated server. I configured the surface area to allow TCP remote connection. But I just can't connection from my laptop over the internet. I use IP address + INSTANCE as server name (like 123.123.123.123\SQLEXPRESS) and use sa account always get th...more >>

Windows 2003 : SQL Server Backup & Restore can't see network drives
Posted by cpchan at 2/19/2007 5:51:51 PM
Dear all, I found SQL Server (either 2000 or 2005) Backup & Restore functions have a great problem Windows 2003 : They can't see shared network drives ! For example, a server machine has C:, D:, E: local drives and a F network drive mapping to another machine. In Windows 2003 File Explore...more >>

Vista
Posted by bb_43 NO[at]SPAM hotmail.com at 2/19/2007 3:32:12 AM
We're developing an app that will have multiple remote client servers, receiving a subscription from a central SQL2005 box. Our Sysadmin is saying we must use Vista on the remote, because we won't be finishing development for at least 6-8 months and Vista is what we'll get on the new hardware...more >>

SQL Server 2005 Management Tools
Posted by MichiMichi at 2/18/2007 9:08:46 PM
I tried to migrate a SQL Server 2000 DB to Sql Server 2005. I am using SQL SERVER 2005 Express Migration Tools, however it seems the express version does not support DTS. My websites are on a shared server administered by my ISP. Is there a seperate download for the Management Tools (not Exp...more >>

Rename SQL server
Posted by steve at 2/16/2007 12:00:00 AM
Hi all, I have an existing server that I wish to replace with new hardware. What I would like to do is to take backups, move them to the new server, take the old server offline and rename the new server to match the old server's name. I've read this article (http://msdn2.microsoft.com/en...more >>

Accidentally running snapshot agent after subscribers have begun replicating changes
Posted by Crash at 2/15/2007 3:19:04 PM
Publisher/Distributor: Windows 2000 SP4 SQL Server 2005 Standard Edition SP2 Subscribers: Windows XP Tablet Edition SP2 SQL Express 2005 SP2 - on clients Replication topology: Merge replication with client subscriptions Most articles replicate both ways but we have a few ...more >>

no read or write priviledges
Posted by Jon Slaughter at 2/12/2007 8:34:26 PM
Is it possible to have an SQL account that is only used to compare data without actually being able to view it? I was thinking that it would be better if when I was checking user login information if I could use an account that had no access to reading the names and passwords but somehow I c...more >>

Studio Express - Problem creating Stored Procedures (newbie)
Posted by TheDood at 2/12/2007 6:14:09 PM
I'm using SQL Server Management Studio Express and trying to create multiple stored procedures. I created the first stored procedure for this assignment with no problem. When I try to create another one, it doesn't show up in the list. I can excute it perfectly but it just never shows up. A...more >>

sql update issue
Posted by Jason at 2/12/2007 2:03:38 PM
I have an update query that I'm trying to run. Basically I start by build three temp tables and running a fourth query that is an update on the FOLDERSDOC table based on conditions in the temp tables. After this first update query is run, two more temp tables are built and a second update que...more >>

REbuilding master database using command prompt
Posted by KR at 2/12/2007 8:49:23 AM
Hi, I am trying to run the following command to rebuild the master database but nothing happens and I get a prompt - 'more?' What am I missing? start /wait path to setup.exe on the local drive(copied over from the dvd/qn INSTANCENAME=MSSQLSERVER REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD...more >>

Database engine to use activesync to sync DB's with desktop version
Posted by Joe Spears at 2/11/2007 11:41:10 AM
Hi I'm looking to find a Database engine to use activesync to sync DB's with desktop version. I have a desktop version of software, which I want to develop a PDA version of also. I want to then be able to Sync the data between both of the apps, preferably via ActveSync. I want to avoid ...more >>

MDB or SDF?? Access or SQL Server Compact Edition???
Posted by Paul Aspinall at 2/9/2007 9:48:19 PM
Hi I'm looking to find a debate / discussion on the merits of coding a .NET application with either MDB or SDF files?? (ie. Access versus SQL Server Compact Edition) I guess the official line would be that SDF files should be used; but what advantages does each have over the other?? Is the...more >>

MDB or SDF?? Access or SQL Server Compact Edition??
Posted by Paul Aspinall at 2/9/2007 9:40:05 PM
Hi I'm looking to find a debate / discussion on the merits of coding a .NET application with either MDB or SDF files?? (ie. Access versus SQL Server Compact Edition) I guess the official line would be that SDF files should be used; but what advantages does each have over the other?? Is ...more >>

SQL beginner help
Posted by Jon Slaughter at 2/8/2007 11:32:29 PM
I have SQL Express installed and I can access it using C# and SQL connection manager but I'm confused on how to use this for my application. What I want to do is host a database on a web server(which uses mysql) that stores information for users. I have no idea how SQL works except for a v...more >>

How to use SQL Server Express
Posted by Bit Byte at 2/5/2007 3:14:38 PM
I just downloaded SQL Server Express (along with Visual Web Developer). However I am at a loss as to how to use it - since it appears to have installed only a service/server configurator (IIRC) - and there is no available documentation (with the install). I have a lot of experience with oth...more >>

Troubles with blocking processes in SQL Server 2005 - how to investigate?
Posted by David Conte at 2/5/2007 2:34:24 PM
Hi all, I am having an issue at one of our client sites. Our software uses an SQL Server 2005 backend, and this particular site is having an issue where a couple times a day, some processes block each other and pretty much prevent our application doing any work, it times out (and thus affects...more >>

To BLOB or not
Posted by justin at 2/5/2007 6:35:13 AM
Hello, I am designing a database in SQL Server 2005 that will be holding a large amount of text for many different "forms". In this system a user would pick a type of form, which really is a template, and fill-in the blank portions of the form. That text would then be saved in the database. W...more >>

Read Only cells in a SQL Server 2005 View
Posted by marzak NO[at]SPAM newhouseweb.com at 2/5/2007 6:15:19 AM
Hi, I have a DB migrated from SQL Server 2000 to SQL Server 2005 and I have a strange problem that I don't find any reason. I make a simple SQL Query with one table showing all the fields and everything goes well. But when I insert another auxiliar table and showing one field, then I can't ...more >>

Problem with "locked" SQL Server Express database files - Please help!
Posted by Glen Buell at 2/4/2007 7:36:53 PM
Hi all, I have a major problem with my ASP.NET website and it's SQL Server 2005 Express database, and I'm wondering if anyone could help me out with it. This site is on a webhost (WebHost4Life) and was running fine and dandy, until I decided I needed to add some additional stored procedure...more >>

Store .doc text in column type
Posted by Dean Slindee at 2/3/2007 9:41:37 AM
Is there any column type available in SQL Server that will faithfully store any and all special characters used in a Word .doc file? Thanks, Dean S ...more >>

2005 Express Edition with Advanced Services download
Posted by R.A.M. at 2/2/2007 7:40:51 PM
Hello, Could you help me please and tell URL of SQL Server 2005 Express Edition with Advanced Services download? (I need Advanced Services because I need to use full text search.) /RAM/ PS. I downloaded SQLEXPR_ADV.EXE and SQLEXPR_TOOLKIT.EXE from Microsoft, but it didn't install full text s...more >>

Buffer cache
Posted by David Gray at 2/2/2007 4:15:59 PM
Hi, Doing some comparisson testing on SQL 2005 and thought it might provide a fairer test if each query ran without the benefit of any previous execution plans. Could anyone tell me a) how to clear the buffer cache b) how to see what's in it Thanks DAve ...more >>

How many entries/steps does the SQL agent history retain?
Posted by David Gray at 2/2/2007 9:39:36 AM
Hi, SQL 2005 Std edition. Got a SQL Agent job with 17 steps that runs every 15 minutes. Problem is the SQL Agent history seems to lose history at about 100 entries. I can then see what has happened overnight. Does anyone know where this limit is set? Thanks Dave ...more >>

Linked server insert error on IDENTITY column
Posted by steve at 2/2/2007 5:37:50 AM
Hi I get this error:-Server: Msg 213, Level 16, State 4, Line 1 Insert Error: Column name or number of supplied values does not match table definition. when I run this query:- INSERT INTO <LinkedServer.<Database>.dbo.<Table> VALUES ('Full',getdate()) but when I run it locally, on the li...more >>

Database Size Mystery
Posted by markp2007-groups NO[at]SPAM yahoo.co.uk at 2/2/2007 3:49:08 AM
Why does my SQL Server db show loads of free space when the individual files have hardly any? I have SQL Server 2000 SP4 on Win2k Server. I have to keep a close eye on the db size as we don't have a lot of disk space. When I went to Enterprise Manager and then to the Shrink Database task, it t...more >>

2005: copying records between databases
Posted by R.A.M. at 2/1/2007 10:55:25 PM
Hello, I would like to ask such question: what is the simples way to copy records from table T in database D1 to table T in database D2 (I mean both dataabases contain table T with same structure). (I am rather beginner...) /RAM/ ...more >>

SQL Server 2005 Management Studio (SMS)
Posted by erato at 2/1/2007 10:31:32 AM
Hi, I'm new to SQL Server 2005 and can't figure out how to make the Object Explorer retain my servers so I don't have to keep reconnecting them. If I close the studio down the Object Explorer is empty when I return. This is probably really simple but any guidance would be greatly appreciated...more >>


DevelopmentNow Blog