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 > july 2005

Filter by week: 1 2 3 4 5

SQL 2000 server
Posted by raider2 at 7/31/2005 7:23:42 PM
I did an upgrade of a site system, computers and servers from NT4 server and workstation to Win2K server and XP workstations. I made a backup of the datatbase (SQL7) and did a restore on the new PDC (SQL2K server). Did a change DB owner and then preformed another backup from the PDC to move to...more >>


Log full
Posted by ritta_rex at 7/30/2005 6:58:03 PM
hi, I have this scenario : My log is full, and nobody can writte into the db, how can I clean it ? (recovery model is full and I have a backup of log before this problem) Do you know the steps ? regards, -- ritta_rex...more >>

can't see drive in sql server
Posted by Tim Browne at 7/30/2005 9:48:02 AM
Hello All - I have two physical drives attached to my local machine (C: (40GB) & E: (250GB) ) I have a large .mdf & .ldf that I detached from C: and (using windows explorer) moved to my E: drive. Now I want to re-attach these files, but SQL SERVER only see's the C: drive. I was able to...more >>

New Instance
Posted by sprucio at 7/30/2005 9:07:03 AM
I currently have SQL 2000 w/sp4 on my server. Can anyone tell me how I can create a new instance? I'm looking to install WSUS and so far, because I've installed it without creating a new instance, backing up the database is a bit difficult for me....more >>

Deleting an operator
Posted by sprucio at 7/30/2005 9:06:03 AM
I am very new to SQL 2000 and I created an operator. Can anyone guide me on how can I delete this newly created operator?...more >>

Upgrading to SQLServer
Posted by John at 7/29/2005 9:02:55 PM
Hi I need to upgrade an access app to sql server, for the first time. In the first phase I would like to upgrade only the backend to save time. Are there any pointers for a newbie to help in the upgraded? I need to give a time/cost estimate to client for the upgrade (backend & frontend)....more >>

converting field
Posted by Job at 7/29/2005 9:39:34 AM
I have a table that has a units column that is varchar because some of the units have text in them. I'm attempting to update the units into a new field that is called Fxd_Units. Update Tbl_MyTable Set Fxd_Units = Cast(TxnUnits as Numeric) Where TxnUnits not like '%M%' This throws the er...more >>

Difference column
Posted by Tango at 7/28/2005 9:59:01 PM
Hi There, I have a table with a branch code, pay date, hours & description. within the description field the options are either Actual or budget. id like to create a query to add to my reporting services dataset that works out the differnce between the budget & actual for each pay period/bran...more >>



SQL Server or Visual Fox Database?
Posted by Feches at 7/28/2005 12:10:01 PM
Hi All, Could anybody tell me why is better have an ERP with SQL Server than other with Visual Fox Pro databases?. My boss are evaluating two software one in Visual Fox and other in with Visual Basic or ASP but both with SQL Server database. I understand why is better SQL Server if I have 50 ...more >>

Planning for new installation
Posted by TonyS at 7/28/2005 1:58:02 AM
We are moving to a new ERP system next year based upon a SQL database. Max 100 users, generally between 50-60 users. I've tried to find out what the recommendations are for running SQL on a different server to the actual ERP system, but there don't seem to be any. Would anybody have any commen...more >>

Difference between login user and database user?
Posted by Richard Stephens at 7/27/2005 8:42:40 AM
Hi all, NooB questions: What's the difference between a login user and a database user? Thanks! ...more >>

date format
Posted by middletree at 7/27/2005 8:35:04 AM
In SQL Server 2000, I have a field that is datetime. It stores it in this format: 7/27/2005 8:32:44 PM When I retrieve data from this field, I'd like to display it in the same format, but in 24 hour time: 7/27/2005 16:32:44 I was trying to manipulate it with ASP, but am getting errors. I...more >>

Enterprise Manager
Posted by Paul at 7/27/2005 4:30:03 AM
Hi, I am currently trying to develope a reporting system through Enterprise Manager. The origional Database was an Access Database. I tried the upsizing wizard to put the Database onto the SQL Server which didn't work. I now have to re-type all my queries in SQL through Query Analyzer. ...more >>

Convert nvarchar to decimal
Posted by Abbes via SQLMonster.com at 7/27/2005 12:00:00 AM
hi guys, i have a pb usine the convert and cast function from nvarchar to decimal when i run for erxample this script declare @TT as nvarchar(6) set @TT = '2,2' select cast(@TT as INT) i got this message Server: Msg 8114, Level 16, State 5, Line 3 Error converting data type nvarchar ...more >>

Creating DB from Access
Posted by Steve at 7/26/2005 9:21:05 PM
Hi, I have a database in MS Access, and I want to copy the table structures and data over to a SQLExpress database. Could someone please advise what the best way of doing this would be? Do I need to create all the tables manually, then copy the data, or can I do it all in one fell swoop? ...more >>

Unique Index error upsizing
Posted by Mark A. Sam at 7/26/2005 6:05:28 PM
Hello, I am trying to upsize a table from Access to SQL Server and get this message: CREATE UNIQUE INDEX PHONE ON Contacts(PHONE) Server Error 1505: CREATE UNIQUE INDEX terminated because a duplicate key was found for index ID 5. Most significant primary key is '<NULL>'. Server Error 362...more >>

Restore Master Database in SQL Server 2000
Posted by Robertwsu at 7/26/2005 4:12:25 PM
I am attempting to restore the master database in SQL Server 2000. However, I continually receive the message: "You are attempting to overwrite an existing database. Check the force restore over existing database option to overwrite the existing database." I have started SQL Server...more >>

highly selective index values
Posted by MKM at 7/26/2005 1:41:05 PM
I know the number of rows returned compared to the number of rows that exist---a percentage-- determines the selectivity of the data. Is there a commonly accepted percentage that determines, 'yes, this data is hightly selective'? Returning 90 of 100 is 90%, definitely not selective. Returni...more >>

Trouble linking client
Posted by michael grubb at 7/25/2005 9:32:07 PM
I am having trouble with getting a networked computer to find an instance of the SQL server on my network....more >>

Importing Data
Posted by Mark A. Sam at 7/25/2005 7:03:19 PM
I am trying to import data to an SQL Database from Access. I tried importing using the Enterprise manager, importing into a project connected to the Database, and using the Access upsizing wizard. The Enterprise Manager gives me this error: Error at destination for Row number 516. Errors enc...more >>

Stored Procedures
Posted by news.microsoft.com at 7/25/2005 2:15:48 PM
When calling multi select statements in a stored procedure how do you set the namespace to each select statement? Thanks Chris ...more >>

date format question
Posted by middletree at 7/25/2005 10:59:08 AM
In a datetime field, my app forces users to use the 7/25/2005 10:58:39 AM format. If users end up typing in 24-hour times, will it break anything? ...more >>

Copying integer values only
Posted by eagle at 7/25/2005 10:16:18 AM
How can I copy data from a varchar field into an integer field, obviously copying only the values that can be an integer? For instance, I have data in a field like this: 1 2 A1034 432 B876 and I want to create a new field and copy over only those values that can be numeric, i.e., 1,...more >>

SQL Server Pricing
Posted by Mark A. Sam at 7/25/2005 7:52:42 AM
Hello, I am considering moving a company's Access App to SQL Server. I am confused about what I need to accomplish this in the way of Server Software. The pricing on the Microsoft website says, Standard Edition: $2249 with 10 Cals. The SQL Server would be running on one network server,...more >>

Executaion plan
Posted by Tapi at 7/25/2005 12:00:00 AM
Does anyone know where I could find comprehensive information (on the net) on how to intepret SQL server's execution plans? For example: Hatch Match/Left semi join - Cost: 41%; Sort/Distinct Sort - Cost:100%; Merge join/Inner join - Cost: 0% Thanks in advance ...more >>

What is the use of keyname?
Posted by Hans Pinow at 7/24/2005 11:09:58 AM
Hello, in my app I've a constraint like constraint sales_fk foreign key (salesman) references members (member) What is the use of the keyname "sales_fk"? My idea is only to remove (or edit) the constraint. May bee, there is also other use, please could any one tell me more or other...more >>

SELECT statement with GROUP BY clause
Posted by Loane Sharp at 7/24/2005 12:01:11 AM
Hi there I have a table with three fields, viz. EmployeeNo, WorkDate, Company. Records for a particular employee (viz. 660) are given as follows: EmpNo WEDate Company 660 19990530 SA Cargo 660 19990606 SA Cargo 660 19990613 SA Cargo 660 ...more >>

using SQL to do a transpose (something like that)
Posted by Loane Sharp at 7/24/2005 12:00:00 AM
Hi there I have two tables, T and U, that look something like this: Table T EmpNo EmpName ---------- --------------- 1 Larry 2 Lawrence 3 Laurence 4 Laurent 5 Laurel .... T...more >>

Log file
Posted by yba02 at 7/23/2005 2:58:02 PM
Hi, I have SQL 2000 runninh on a 2-node cluster running Server 2k3. When I start Enterprise Manager from my PC, a huge SQL.log file is created (or gets appended) and each action afterwards takes quite long time to do. This happens only from my own PC. Other admins' PCs do not have the same ...more >>

SQL Statement Help
Posted by Jim in Arizona at 7/22/2005 9:31:52 AM
I'm creating a vb.net web form that connects to an access database. I just need clarification on a SQL statement. Basically, I do a record update like so: UPDATE TClaimTrak SET resolved = True WHERE id = 40 Now I need to not only do an update of a field, but also do update another fie...more >>

Newbie Question
Posted by Greg at 7/22/2005 8:34:27 AM
I have inherited a SQL 2000 SP3 system running on W2K SP4. We have a table load process that uses BCP to insert data and build a temporary table. I then have a stored procedure that appends two system parameters onto each row. The procedure then selects all the rows from the temporary table...more >>

side by side installations
Posted by sharc at 7/22/2005 8:17:01 AM
I've a project to work on that needs to be done in Visual Studio 2003 .net and MySql 2000. But the machine I'm on currently has the VS 2005 beta and SQL Server 2005. I've already figured out that VS 2003 and 2005 can be installed side by side, but I can't seem to determine if SQL Server 2005 a...more >>

Server Upgrades Question
Posted by John Vee at 7/22/2005 8:14:57 AM
I upgraded my server from 2 processors to 4 processors. Is there any tuning or adjustements in SQL that need to be done in order to take advantage of the new hardware? It is SQL 2000 SP4 Enterprise Edition. Any help would be appreciated and thank you in advance. ...more >>

Sql server is too slow(Please help me)
Posted by fosiul NO[at]SPAM gmail-dot-com.no-spam.invalid at 7/22/2005 12:56:18 AM
my sql server is too slow, like an example - if i want to open an table or like if i want to open any section of sql server or like i i want to go to stored procedure section, any where i want to go, i taking time to open it was fast before but from last few days is slow can any one please te...more >>

Select First statement in SQLServer
Posted by dalexgis NO[at]SPAM aol-dot-com.no-spam.invalid at 7/22/2005 12:56:17 AM
Hi, Lets say I have a table with these fields: Date, Category, Prod_Name The first few rows look like this: 1/04 CatA ProdA 2/04 CatA ProdB 3/04 CatA ProdC 4/05 CatB ProdD 5/04 CatB ProdE 6/05 CatC ProdF 7/05 CatC ProdG From this table, I'm looking for a result set that looks like this...more >>

How to find top x transactions
Posted by Kay at 7/22/2005 12:00:00 AM
Hi all, The Win2000 server in my office starting running slow and find that the SQL2000 server eat up many cpu usage.... I'm thinking it may be caused by a query in an in-house application which doing a Select Max query before insert a history record, the history table probably the biggest ...more >>

Calculating Year to Date Totals
Posted by Hivor via SQLMonster.com at 7/22/2005 12:00:00 AM
Is there an easy way to construct a query that would calculate year to date totals? My original table is as follows: Category Month Class Amount 1234 01 Rate 10 1234 02 Rate 100 5678 01 Vol 20 5678 ...more >>

Linked Server Distributed Transactions
Posted by Gags at 7/21/2005 6:15:07 AM
I am running distributed transactions via linked servers. All the SQL servers involved are on SQL Server 2000 and on Window 2000 professional. I am receiving distributed transaction failure error messages when trying to run distributed queries. The error message is ------------------------...more >>

Wich SQL Data Type should I use
Posted by { Olivier } at 7/20/2005 10:31:56 PM
Hello Wath type of SQL Data Type should I use to store this file ? You'll notice that there's some problem with the Ascii #13 and Ascii #0 How can I do this ? Thanks Olivier (sorry for my poor english (:-/) ...more >>

SQL Server 2003
Posted by Tom Rogers at 7/20/2005 4:06:08 PM
Is there such a beast or is Microsoft going right from SQL Server 2000 to SQL Server 2005? TIA, -Tom ...more >>

default password
Posted by Christopher Weaver at 7/20/2005 12:03:03 PM
I can't remember the default password that accompanies the sa login id. Can anyone help me out with this? ...more >>

INSERT Question
Posted by DanVDM at 7/20/2005 11:09:33 AM
I am running SQL Server 2000, still pretty new to this. I ran the DTS Import/Export Wizard to create my table and insert the data 150,000 records. The data was only suppose to be changed occassionally, a record at a time. Now I need to insert another 50,000 records, not quite sure how to do ...more >>

Restore
Posted by Rafi at 7/20/2005 8:06:28 AM
I am a SQL novice and would very much appreciate your assistance with a restore problem. I am trying to restore a db from a backup location and am getting the following error message: "the media set for database "SEItoDDA" has 2 family memebrs but only 1 are provided. All memebers must be...more >>

help with a simple query
Posted by Andrew Stuart at 7/20/2005 12:00:00 AM
Hello I'm a newb. I'd love some help solving this apparently simple query. table one contains email sender addresses table two contains emails From table two I wish to SELECT all emails whose sender address is not in table one. Can anyone suggest how this might be done? Thanks in a...more >>

Upgrading from per seat for to processor
Posted by Darshan Ahuja at 7/19/2005 9:20:02 PM
Does the upgrade from per seat license in sql server 2000 to processor based licensing requires reinstallation of sql server?Is there an easier way of upgradation. Tanks in Advance Darshan Ahuja Quark...more >>

UPDATE problem...
Posted by Boris at 7/19/2005 12:00:00 AM
Hi all! I'm reading Sybex book, Mastering SQL 2000, and I'm having problems with two queryes. 1------------------------------------------------------------- USE pubs BEGIN TRANSACTION DECLARE @newprice money UPDATE titles SET @newprice = price = price * 1.1 WHERE title LIKE 'suschi%' P...more >>

Multiuser database application using SQLExpress
Posted by Patrick Blackman at 7/18/2005 8:56:29 PM
I am new to SQL and I would like to create a small database application where I can store the data on a network drive and have about 10 users access the data from their desktop. I want to use SQL Express to do this, any ideas / examples of how to get this done, especially dealing with conflict...more >>

User Defined Function Help
Posted by Douglas Adams at 7/18/2005 12:00:00 AM
Hi, I have a database that stores a number. I need to have a built in function that will apply a function to the number and then return the number that produces the largest number. How can i do this? eg. id - name - number 003 trade 45 345 var 77 45...more >>

MSDE with Query Analyzer
Posted by A P at 7/18/2005 12:00:00 AM
Hi! I am practicing SQL and just using the MSDE (free version of SQL). Is there a way that I may access the database thru a free query analyzer just like in MS SQL? regards, Me ...more >>

INSERT Query help..
Posted by Matt Williamson at 7/15/2005 3:53:51 PM
I'm trying to duplicate a set of values in a table for a second user. The table only has 2 columns one containing a username and the other containing a code. Given the following, how would I insert new rows with a different username using the same values of another username from the same table...more >>


DevelopmentNow Blog