Archived Months
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 > sql server new users > december 2006

Upgrade
Posted by Jim in Arizona at 12/29/2006 1:35:09 PM
I'm running SQL2000 Standard on a 2003 standard server. I want to upgrade to 2005. I have about a half dozen small databases on the system with very basic table structure and maybe 20 very basic stored procedures (select and insert procedures). Anyone know of any problems of just throwing ...more >>

Microsoft SQL Server Error 5123
Posted by thersitz at 12/29/2006 10:17:46 AM
Hi, I have SQLServer 2005 dev edition loaded on a windowsXP Pro machine. I installed it ok. I just attempted to load the Personal Web Site Starter Kit that comes with VStudio 2005 -- it loaded ok, but when I went to view the default.aspx page I got this error: ----------------- An erro...more >>

Replace function
Posted by Jim in Arizona at 12/29/2006 9:43:46 AM
Can someone help me use the Replace function properly? I try this: SELECT REPLACE('<br />','<br />','vbCrLf'), * FROM Peart3Log This returns all the records, but includes a 'no name' column filled with vbCrLf. Theres a column called [post] within this table that has <br /> tags in it...more >>

Dynamic storage of file name
Posted by Gouri at 12/29/2006 9:38:14 AM
Hello everybody How to dynamically find out and store the logical datafile and logfile name from a backup file of a database so that the restore statement of the database could be generated at run time. Gouri ...more >>

Auto Generate Unique Primary Keys
Posted by Brier at 12/28/2006 12:38:01 AM
I am moving an Access db to SQL as a 'project'. How can I replicate Access's Primary key generation in SQL 2000? Example: EmployeeID, TestID, TransactionID that all have unique primary key numbers that are auto-generated? ...more >>

Need to populate multiple records
Posted by _adrian at 12/27/2006 2:56:43 PM
is there a sql update query or similar that I could type out and run on the fly somehow that would populate a specific field in all of the records of a table with the same value? Thx ...more >>

Date Range Query
Posted by Jim in Arizona at 12/27/2006 1:37:00 PM
Is there a better way of doing this: SELECT * FROM PreGXSurvey WHERE dtsurvey BETWEEN CONVERT(DATETIME, '9/25/06', 1) AND CONVERT(DATETIME, '9/25/06 23:59:59', 1) I had to add the 11:59pm time to the end of the date range in order to get values from the select statement. If I exc...more >>

dts connection
Posted by SAC at 12/26/2006 12:00:00 AM
I'm using 2000 on a remote server. I'm having a problem when making a new dts package and putting in the server connection. If I use Remote Desktop and logon to the server I then use "Local" as the name of the server in the connection and it works fine. However if I run Ent. Mgr. from a r...more >>



Printing schema
Posted by Microsoft at 12/24/2006 9:57:57 PM
After creating a table using Enterprise Manager is there a way to print the schema of the table? thanks, Mac ...more >>

sql query syntax (easy!)
Posted by Daves at 12/21/2006 3:12:13 PM
it is pretty obvious what I'm trying to do but the query isn't accepted by Sql2005? SELECT Name FROM Users WHERE UsersID IN (EXEC dbo.ReturnDataByModule 'Groups',1200) ...more >>

QUERY: 1 SQL Server restricted access according to user account...
Posted by Andrew Wan at 12/20/2006 5:22:09 PM
Is it possible to run only 1 SQL Server 2000/2005 and set it up so that it displays specific databases corresponding to the user account logged in? ...more >>

Can I use SELECT statement to out directly to ASCII??
Posted by SimonR at 12/20/2006 12:00:00 AM
I need to take data TO and FROM SQL Server to a old application Is it possible tooutput directly using a Select statement?? ...more >>

Help with Wiindows 2003 firewall configuration and MSSQL please.
Posted by Robert Johnson at 12/19/2006 1:38:10 PM
Hi all. I made the settings as indicated in the How to Configure a Windows Firewall for Ingegration Services Access books online help. 1. On the Exception tab I entered MsDtsSrvr.exe to the Add a Program list 2. Add a port: Set it for port 135 under TCP 3. Set Scope for My network Clos...more >>

HELP: SQL Server Service can't start up!!!
Posted by Andrew Wan at 12/18/2006 12:00:00 AM
I installed SQL Server 2000 on a PC which is on a domain "DOMAIN" and it uses Windows XP Professional. I used Windows Authentication Mode (instead of Mixed-Mode). SQL Server 2000 starts up successfully. Then I installed on a standalone PC which is part of a workgroup "WORKGROUP" (instead of...more >>

Query
Posted by luke at 12/17/2006 12:00:00 AM
Hi, I got a table like this: datetime quantity status 10/30/06 12:01:01 50 ON 10/30/06 12:02:01 50 ON 11/01/06 08:01:03 20 OFF 11/01/06 08:02:03 30 OFF 11/01/06 08:03:03 10 ON 11/0...more >>

Shrinking the log in a backup file..
Posted by Magnus Flysjö at 12/15/2006 5:36:51 PM
I have to move a database from one server to another and in the process I need to shrink the transaction log, cause it's over 180GB and wont fit on the other server at the current stage.. I have absolutly no clue on how to do this.. Is it even possible to shrink data inside a BAK file before ...more >>

Stop SQL Server Starting
Posted by John at 12/13/2006 5:25:57 PM
Hi there, I have SQL Server 2005 Developer edition on my machine and as it's not something I use all the time I'd like to stop it starting on startup. So my questions are as follows: a) Am I right that I can do this by changing the Start Mode to Manual in Configuration manager? b) If...more >>

SQL Server Express Installation
Posted by r06 at 12/13/2006 4:41:00 PM
I recently downloaded SQL-Server Express and installed it on my desktop running XP. During the installation the program displayed a message indicating that it found traces of beta releases and could not complete the installation. I checked the software installed and I did not see any beta...more >>

SQL Server -- Bulk Insert from Excel to SQL Server
Posted by Doctorjones_md at 12/11/2006 4:53:56 PM
I'm trying to export data from an Excel worksheet into SQL Server. I've heard that Bulk Insert or bcp might be the way to go, but I don't know anything about how to go about setting that up. If this would be the most efficient method for transfering data from Excel to SQL, could some please ...more >>

Flat file export results in corrupted file
Posted by worky.workerson NO[at]SPAM gmail.com at 12/11/2006 11:11:07 AM
I was given a Sql Server 2005 .bak database backup and, as I know little about Windows databases, have set out to try and massage the data into a form that I can read into PostgreSQL, preferrably something like CSV. I've currently fumbled through an install of SQL Server 2005, restored the .b...more >>

newbie question - using asp.net datasource control to access sqlsvr 2005
Posted by Geary at 12/8/2006 1:26:11 PM
This may be a case of the blind leading the blind. Sorry if this is an extremely basic question. I am fairly new developing ASP.NET 2.0 websites using VS2005. Our dba is fairly new SqlServer 2005. I am trying to access the data he has loaded in sqlsvr. He has set it up using windows a...more >>

Restoring transaction log from backup
Posted by Iuri Cuznetov at 12/7/2006 12:00:00 AM
Hi all! Well, i have a problem with the transaction log restore. There are every-week full database backup and 12 transaction log backups (2 backups for each day). When I'm trying to restore my database with restoring wizard from Enterprise Manager, full database backup restore is proceedin...more >>

when is sql needed
Posted by aries at 12/6/2006 3:23:58 PM
Yesterday I was working on something in Excel. It got hung up because I was working on a .csv file and trying to add data which had color, then I wanted to delete it. The whole thing froze and I saw something that said HiddenFax Window.exe which could not close. When I went to task manager I s...more >>

table gets corrupt
Posted by SAC at 12/5/2006 11:12:54 AM
I have a view with several tables....every now and then it won't open so I check each table in the view and there has been one that won't open so I have to copy it from a backup . Any idea as to why a table won't open when there's no maintenance done to it? Thanks. ...more >>

Very Very basic question
Posted by Jane at 12/1/2006 3:20:25 PM
I have used Microsoft Access for several years and my company now has SQL server. I know that I can upsize my Access databases to SQL but I have learned this is not the best idea. What should I use to create the front-end to my data? It seems there are so many options and I want to spend wh...more >>

a question about insert into char field
Posted by John61 at 12/1/2006 10:17:15 AM
If a table has a char field with a length 5, is it possible to allow us to insert a longer string, but the field just takes the first 5 chars? For example, we use Insert Into ... Values ("HelloYou"), "Hello" can be inserted without an error. Is there an option in SQL server on this? Thanks...more >>

Column Naming Convention
Posted by Vayse at 12/1/2006 12:00:00 AM
Hi I have to work with a database supplied by another company. Its just tables, no views. Unfortunately, they have decided to use @ as the suffix for the indexes, and # as the suffix for the other fields. This makes things a bit difficult for me. I'm going to ask them to change the field nam...more >>


DevelopmentNow Blog