Archived Months
January 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
all groups > sql server (alternate) > december 2004 > threads for december 15 - 21, 2004

Filter by week: 1 2 3 4 5

Porting from oracle to SQL Server
Posted by golu at 12/21/2004 8:58:56 PM
Has any body done the porting from oracle to sql server, what were the issues in porting the data bases? Also suggest some resources which can be helpful in the porting project TIA Golu ...more >>


Running SQL Server 6.5 on Win2K Server??
Posted by cdavis10717 NO[at]SPAM comcast.net at 12/21/2004 6:32:57 PM
Is anyone here successfully running SQL Server 6.5 in a Windows 2000 Server?? We tried to and had some runtime problems relative to tempdb. ...more >>

SQL Client & Licensing
Posted by LineVoltageHalogen at 12/21/2004 4:54:02 PM
Greetings All, does anyone know if there are licencing considerations involved if I just want to install MSSQL clients and tools? I need to connect to a MSSQL database server out on the network and I want to used Enterprise Manager, however my boss says that you may need to pay for licensing? ...more >>

Help with Stored Procedure
Posted by divyeshkhatri NO[at]SPAM hotmail.com at 12/21/2004 4:12:01 PM
Hi I have written following stored procedure but it take way too long to complete. I will be processing thousands of records and it is slow. I am importing data from a source table and adding logic and then inserting into another table. Any help with speeding it up will be highly appreciated. ...more >>

How does adding constraints affect performance?
Posted by Robin Tucker at 12/21/2004 3:31:47 PM
I'm considering adding domain integrity checks to some of my database table items. How does adding such constraints affect SQL Server performance? For example, I have a simple constraint that restricts a couple of columns to having values within the values assigned in my application by an ...more >>

DTS data from MS SQL 2000 to DB2 7.1 on OS/390
Posted by Perl rookie at 12/21/2004 1:42:22 PM
I am trying to move data from SQL server table to a table in DB2 on Z/os. I keep getting a message that the function is not supported. How can I move data from sql server 2000 to db2 on os/390 could anybody please help ? Thanks ...more >>

Truncate Database Statement help
Posted by Little PussyCat at 12/21/2004 11:57:46 AM
Hello, I hope you can help me. We have a SQL Server 2000 database at work, (which works with a VB6 frontend) which grew to a considerable size, so one of my past colleagues sent me this truncate statement to use on the database. I ran it like this, and all appeared to be well, it shrank the...more >>

timeouts!!
Posted by psawant NO[at]SPAM gmail.com at 12/21/2004 11:47:35 AM
hi! I am having some timeout issues. I am running sql 2k with 3gig available ram. I did a 600,000 record delete on a table that gets written to by the active/production application and my application timed out when it was doing the delete. why did stored procedures that ran fine befor...more >>



where to find comments property
Posted by mcnewsxp at 12/21/2004 9:13:21 AM
where in sys tables does one find field property comments. neeed to query them. tia, mcnewsxp ...more >>

Merge Replication
Posted by laststubborn at 12/21/2004 8:20:39 AM
I am trying to build a merge replication. I created publisher and distributer at the same machine. I created PUSH Subscribtion. However, I am getting an error from Agent "The process could not connect to Subscriber 'MARSHWREN'." and from Data Source "Login failed for user 'NT AUTHORITY\ANONYM...more >>

SQL Server Express setup snafu
Posted by ayende NO[at]SPAM gmail.com at 12/21/2004 7:15:05 AM
I've installed and unistalled SQL Server 2000 and MSDE on my computer as I needed it (my machine is a development machine). I've tested SQL Server B2 and then uninstalled it, now when I try to install SQL Server Express B3 I can't get the client side tools to install (the command lines). The se...more >>

newbie join problem...
Posted by toedipper at 12/20/2004 10:48:49 PM
Hello, I have 2 tables, software and waretype. The waretype table is a simple table with 2 fields wareid and warename So the table looks like this wareid warename 1 shareware 2 trialware 3 donationware etc etc The wareid field in abov...more >>

SQL Server 2000 Cannot Restore
Posted by dschneiderman NO[at]SPAM planetmagpie.com at 12/20/2004 7:45:14 PM
Hello All, I am not a SQL Server expert, but I have been put in a pretty precarious situtation and I am close to panicking :( I have need to restore a SQL database from backup (through Enterprise Manager). The database got corrupt and I detached it, then was unable to attach it again. I cr...more >>

Install Enterprise manager without install sql server
Posted by Jean-Luc M. at 12/20/2004 4:18:42 PM
Hi, Is it possible to install Enterprise Manager without to install the server ? Thanks ! -- J-L M. (Alphomega) ICQ: 149635116 Pour m'écrire, cliquer le lien ci-dessous http://cerbermail.com/?G5iYdBb2Ce ...more >>

Some comments on DTS package
Posted by NickName at 12/20/2004 1:42:58 PM
On quick observation, it seems to me DTS has a strange way to interprete File System. ENV: NT OS, SQL Server 2000. When a data import package (source point to c:\XYZdir) is executed at EM level, sql server seems to think the "c:\XYZdir" is the current user's "c:\XYZdir", however, if the same ...more >>

alter column fails due to statistics
Posted by Metal Dave at 12/20/2004 12:00:40 PM
Hello, A script we run against the database as part of the upgrade of our product is failing with the following message: ALTER TABLE ALTER COLUMN EncodedID failed because STATISTICS hind_61_3 accesses this column The line that fails is: alter table Badge alter column EncodedID nvarch...more >>

"Microsoft SQL Servers" not showing in Computer Management.
Posted by Robin Tucker at 12/20/2004 10:39:30 AM
Hi there, Got a small tech support problem. We gave our manual writer an installer that should install SQL Server (MSDE) and our software. Over the phone I've managed to ascertain that SQL Server is installed (it is running as a service, along with SQL Server Agent), but it does not sho...more >>

Help with SQL stored procedure
Posted by Jim Armstrong at 12/20/2004 10:04:11 AM
Hello all, I have a database with trade information. I have written a stored procedure (code at end of post) which pulls trades from a range of dates. There is a field called "Match ID" which is used to group together trades. Now, I need to modify this SP so that it pulls trades in the date...more >>

DTS Text Import Question
Posted by David Peake at 12/20/2004 9:55:07 AM
Hi All, I use DTs Wizard to import a text file into my MS SQLServer 2000 every month. This text file contains 236 text fields and it's format never changes. The problem that i've found is that the DTS wizard sets each of the destination fields to varchar (which is fine) but the size to 8000...more >>

Altering table & trans. replication
Posted by Wagner at 12/20/2004 9:10:16 AM
Hi, How can I modify table with publication (change of one column length) without completely breaking replication. Thanks in advance...more >>

Mutually exclusive counts on ordered queries
Posted by WertmanTheMad at 12/20/2004 8:09:41 AM
Ive been playing with this for a few days and thought I might thow it out for seggestions. I have Several Queries that need counts returned The Queries are Mutually Exclusive meaning whatever Query they return in first they cannot be included in the counts of any queries below them. This...more >>

sqlmaint.exe failed when backup db
Posted by saiyou at 12/20/2004 7:21:22 AM
Hi! I have a SQL 7.0. The backups created by maintenance plan worked very well before someone shut down the server to do some server maintenance. After restart the server, the backup job is not working any more. All the backups created by maintenance plan are not working, including the newely cr...more >>

use function from asp file in stored procedure
Posted by freiermuth NO[at]SPAM netelite.ch at 12/20/2004 5:27:55 AM
Hello everybody, I have a file with several asp functions where some depend on others. Some of the functions I will need to transform a string value. How can I include these functions in a stored procedure? (in Sql Server 2000) Do I have to add all the functions as userdefined functions? ...more >>

DAO and SQL server
Posted by sd_bradford NO[at]SPAM hotmail.com at 12/20/2004 2:20:53 AM
We are considering migrating a large piece of VB code from Access to SQL server. All the code is in DAO, are there any known incompatibilities WRT SQL server and DAO? Many thanks Si...more >>

problems running memory intensive queries
Posted by rishi_israni NO[at]SPAM yahoo.com at 12/19/2004 5:34:39 PM
Hi, i am having a strange problem running memory intensive queries on SQL server. I am doing an update on a table with 9 million records from another table with 50 records. the query i am running is update table1 set var1 = b.var2 from table2 b where key1=b.key1 this query hanges ...more >>

How to use BETWEEN with custom-ordered values
Posted by ian.proffer NO[at]SPAM gmail.com at 12/19/2004 4:36:14 PM
We have a 10 digit primary key value in this format: M000123456. The order for this key is first determined by positions 3 and 4 in this example, then positions 1 and 2. So a brief sample of correct ordering would look like this: M000001501 M000011501 M000021501 M000001601 M000011601 M000...more >>

Lost sysadmin, but I still have it???
Posted by Chris at 12/19/2004 3:47:52 PM
SQL Server 2000 SP5a on Windows 2000 SP4 Friday morning we discovered that we no longer have sysadmin privileges. We were able to query the syslogins table. In the output we can clearly see that our accounts do have the sysadmin privileges, since there is a 1 in that column. But yet we do n...more >>

SQL View/Table question
Posted by WertmanTheMad at 12/19/2004 11:19:17 AM
MVP's and the like I am looking for suggestions , confirmation Let me start by saying bar none, performance is paramount with the queries to be retured off this view/table query. To that end I am completley donormailzing the data into a view (or a table) with all possible legal combinatio...more >>

Designing a database within a database... design question storing data...
Posted by Dave at 12/18/2004 7:21:58 PM
I have a system that basically stores a database within a database (I'm sure lots have you have done this before in some form or another). At the end of the day, I'm storing the actual data generically in a column of type nvarchar(4000), but I want to add support for unlimited text. I want to ...more >>

SQL Analyzer
Posted by NickName at 12/18/2004 11:54:40 AM
Is there any similar tool that provides more helpful debugging info than SQL Analyzer? When one write hundred and hundres lines of code for some heavy duty task, it's almost inevitable that typo and the like happens, so, easy INDENT and LINE NUMBERING is very helpful for a tool. TIA. ...more >>

Identity columns
Posted by newtophp2000 NO[at]SPAM yahoo.com at 12/17/2004 5:46:07 PM
I have been using the following query to identify the IDENTITY columns in a given table. (The query is inside an application.) select column_name from information_schema.columns where table_schema = 'user_a' and table_name = 'tab_a' and columnproperty(object_id(table_name), column_name, 'Is...more >>

UML and SQL
Posted by statiana NO[at]SPAM poczta.onet.pl at 12/17/2004 4:39:24 PM
Hello, could anybody write me how to write an implementation "xor" association ( used in UML ) in sql ?...more >>

ExecuteWithResultsAndMessage2 SQL-DMO and perl
Posted by Philip Bondi at 12/17/2004 1:21:57 PM
Hello to all: I want to get the output from xp_msver through ExecuteWithResultsAndMessage2 SQL-DMO and perl. This is the script I've got so far. Can anyone give me a few more pointers? use strict; use Win32::OLE 'in'; use Win32::OLE::Const 'Microsoft SQLDMO Object Library'; ...more >>

WHERE
Posted by GTi at 12/17/2004 1:16:40 PM
I have two tables MEMBERS Index tableindex Name ..... PROJECT Index Name I want to select data from PROJECT where a member is listed in MEMBERS table. Example: John is member index 5. He is a member in several PROJECTs select * from PROJECT where (MEMBERS.index=5 and M...more >>

Can you filter SELECT results?
Posted by wackyphill NO[at]SPAM yahoo.com at 12/17/2004 12:39:22 PM
I want to create a stored procedure that returns a list of records from a table. But depending on a userID value given only certain records will be returned that they have access to. I think this might be hard to do in a single SELECT statement because the user might also belong to a group tha...more >>

DELETE problem
Posted by wackyphill NO[at]SPAM yahoo.com at 12/17/2004 10:05:57 AM
I have a hierarchy of menu and sub menus setup using this table: CREATE TABLE menu ( id INT NOT NULL IDENTITY PRIMARY KEY, name VARCHAR(30) NOT NULL, parentID INT NULL --Null If Root Menu ) I want all sub menus to be deleted when a parent menu is deleted. I wasn't abl...more >>

I want to transfer ONLY new records AND update any modified records from Oracle into SQL Server using DTS
Posted by fhadlaq NO[at]SPAM yahoo.com at 12/17/2004 9:36:23 AM
I need a little help here.. I want to transfer ONLY new records AND update any modified records from Oracle into SQL Server using DTS. How should I go about it? a) how do I use global variable to get max date. Where and what DTS task should I use to complete the job? Data Driven Query? Tr...more >>

How to customize view of SQL Server Enterprise Manager on startup?
Posted by shmooth NO[at]SPAM lycos.co.uk at 12/17/2004 8:47:57 AM
Hi, I've managed to get a couple of shortcuts on my desktop that log me right into SQL Query Analyzer for whichever particular database I want (using the isql.exe command line options). Now, I want to do a similar customization for the SQL Server Enterprise Manager. I want to be able to ope...more >>

Execution of script at login
Posted by James at 12/17/2004 8:15:12 AM
Is there a way to execute a script at login to check to do some additional security checks after authentication? Thanks, James Brake ...more >>

import multiple accessfiles in dts
Posted by Ezekiël at 12/17/2004 7:50:52 AM
Hi, How can i import multiple accessfiles in sql server 2000 by using a dts package? The dts package should import files with the most current date in a directory (not today's date). The date can be found in the name, e.g.: <companyname>_20041214.mdb. Also i would like to use the company...more >>

Access migration to SQL Server
Posted by Teri Welch at 12/17/2004 1:10:49 AM
Hello, We maintain a VB6 front-end application using an Access 2000 database. All code and forms are in VB6. The program also uses several queries/reports defined in Access. For corporate reasons we must move to SQL Server right away. Based on our configuration, we're hoping someone can give u...more >>

Connecting to online database using local Enterprise Manager
Posted by John Morgan at 12/16/2004 9:15:07 PM
I have Enterprise Manager on my local machine. For the last twelve months it has been connecting without problem to my online SQL Server database provided by my ISP. Three weeks ago the ISP applied some sort of extra security arrangements to their SQL Server to allow access only through port ...more >>

Why xp_sendmail Doesn't Work With Hotmail?
Posted by mike at 12/16/2004 2:18:53 PM
Using the Query Analyzer, I issued the statement "EXEC xp_sendmail 'anyone@hotmail.com, 'Test.'" and received 'email sent' confirmation. But, my email was never received. I used the same statement to send mail to a Yahoo account and it was received. Is there a way to be able to send email u...more >>

Constraint question
Posted by wackyphill NO[at]SPAM yahoo.com at 12/16/2004 1:20:08 PM
I'm constructing a menu in a SQL Server database. Each menu can have sub menus. So my table looks like this: CREATE TABLE menu ( id INT NOT NULL IDENTITY PRIMARY KEY, name VARCHAR(30) NOT NULL, parentID INT NOT NULL /*ID Of Parent Menu -1 If Root*/ ) IS there a way of placing a ...more >>

MySQL vs SQL Server?
Posted by gglave NO[at]SPAM softtracks.com at 12/16/2004 1:13:54 PM
Hey there, I'm curious about MySQL. Could anyone quickly summarize the differences between MySQL and SQL Server and outline why someone might pick SQL Server over MySQL? (Please post replies here, email address is fake) Cheers, Geoff Glave Vancouver, Canada ...more >>

export data without trailing spaces
Posted by eddiekwang NO[at]SPAM hotmail.com at 12/16/2004 11:39:50 AM
Hello, when I export data from a table to a text file, I get trailing spaces if the data type in char. (This dosen't happen if the data type is varchar). I can get rid of the spaces by using the trim() function on every signle column. here is an example: DTSDestination("first_name") = DTSSource...more >>

Comparing 2 different databases [NEWBIE]
Posted by Ben Wehrspann at 12/16/2004 9:22:40 AM
Hello- I am trying to audit values between 2 different databases. ie: We send out dividend checks every year, and it is based on how much our customers spend with us. Therefore, once a year we allocate our profits to the customers by dumping customer information from the billing databa...more >>

Tricky Case Sensitive Query on SQL7
Posted by Jeff at 12/16/2004 7:00:47 AM
I have a SQL7 database that was installed as case-insensitive. /* Sort Order = 52, Case-insensitive dictionary sort order. */ This database contains a table that has a varchar column which contains data such as: 'JUDICIARY; EDUCATION; Subcommittee on Justice and Judiciary' 'Subcommittee on ...more >>

Obtaining the version of ADO installed on XP
Posted by alan.taylor8 NO[at]SPAM abbey.com at 12/16/2004 4:29:22 AM
How is it possible to tell which version of ADO is installed on an XP workstation? Thanks...more >>

How do i replicate data from MySQL into SQL-Server
Posted by uli2003wien NO[at]SPAM lycos.at at 12/16/2004 12:38:26 AM
Hello group, i am relatively new to SQL-Server database, but i have lots of experience with DB2 and Oracle Database. One of my tasks is setting up a replication between a Mysql-Database running on Linux and one of our SQL-Servers. How do i achieve this ? If i understand the documentatio...more >>

Replication
Posted by Tom Gao at 12/15/2004 9:00:04 PM
database replication: if I replicate a database and I update a record on Server_1 at the sametime I update the same record on Server_2 what would happen ? Thanks Tom ...more >>

How to Identify user defined data types
Posted by Bruce at 12/15/2004 3:43:15 PM
How can you tell which datatypes in a given database are user defined (with a query, not by looking in Enterprise Manager)? This is for SQL Server 2000. ...more >>

insufficient memory to run this query
Posted by john.livermore NO[at]SPAM inginix.com at 12/15/2004 2:21:02 PM
We seem to have developed a memory leak in our sql server application and are getting the above error on occasion. Also, over several hours of hard usage the memory consumed by the sql server ramps up and is never released. The only thing we have found to remedy the problem is to stop/start sq...more >>

sp_who2 displays funky CPU usage on pentium4 server
Posted by louis at 12/15/2004 12:41:05 PM
I've got a new server with Pentium4 xeon processors. I've used sp_who2 for quite a while on my old server -- to look at CPU and IO usage. On the new server, the CPU times are huge -- although actual performance is quite good. I know sp_who2 is an undocumented proc. Has anyone experienced thi...more >>

Stored procedure performance mystery
Posted by Magnus Österberg at 12/15/2004 12:17:03 PM
My application fetches a batch of data through a web service and writes 1000 entities per batch to a SQL Server 2000 database. There are 4 tables in every batch. There are the following number of SQL commands executed per average of every batch; Table #1: always 1 Table #2: 5 Table #3: 5 Ta...more >>

Easy to Say but hard to implement
Posted by Gent at 12/15/2004 12:07:48 PM
I have a table named Holding_Value that has several fields in it among which are UID, fkHolding, EffDate, Units, MarketValue, AssetPrice. UID is an identity field and fkHolding is a foreign key to a different table. EffDate is the the effective date while units and marketvalue are values stored ...more >>

Ascending and count help
Posted by pkruti NO[at]SPAM hotmail.com at 12/15/2004 12:00:33 PM
Below is the statement i am working with and i am trying to figure out how to have the count in ascending order...is this possible? Right now it groups by FP in alphabetical order but i dont want that i want the whatever the FP1 count is to be ascending but i am not sure how to go about doing th...more >>

Query Analyzer locks up!
Posted by jonhyland NO[at]SPAM hotmail.com at 12/15/2004 11:19:52 AM
Hey all, I'm having this weird problem on my Windows 2003 Server machine.. Whenever I open two connection pages in Query Analyzer, then close one of them, it locks up and I have to kill the task. I read a posting somewhere that said this could be due to an MDAC installation problem, but I...more >>

Task/transaction token by logging
Posted by Matik at 12/15/2004 9:31:28 AM
Hallo All, I'm making in my DB some logs. I have a separate table containing: ID, Date, Source, Type, ErrorNo, Description Acctualy the table struct is not immportand that's why I do not post the script. I have one procedure, which I call in my other function procedures, triggers etc...more >>

Is there any third party s/w that lists SQL servers in a network and query more info about the server?
Posted by SQLDBA at 12/15/2004 9:18:53 AM
Is there any third party s/w that lists SQL servers in a network and query more info about the server? I need to find out the sql version, whether its a msde or a msee. Also the service pack details and list the databases in that server. Any help appreciated... Thanks..! ...more >>

Is there any third party s/w that lists SQL servers in a network and query more info about the server?
Posted by SQLDBA at 12/15/2004 9:14:54 AM
Is there any third party s/w that lists SQL servers in a network and query more info about the server? ...more >>

SQL Triggers: Transfer Data from SQL Server 2000 to Visual FoxPro DBase
Posted by bwalke NO[at]SPAM lbrspec.com at 12/15/2004 9:11:23 AM
Hi all, I am fairly new to using triggers and was seeking some help from those that have experience with them. I am looking to transfer data from a SQL 2000 database to a Visual FoxPro database on another computer. I would like to transfer about three fields of data to a VFP table each time...more >>

Slow Insert - Help?
Posted by peanut at 12/15/2004 9:07:42 AM
I have a stored procedure that can take over 5 seconds to add simple data. Please give any advice on optimizing? Here are the details: ***** Access Info ****** ~10 rows are added to the table every second the table is read ~20 times a second (with no lock) ***** Stored Procedures ****...more >>

Cluster /AWE / 3GB Switch /Memory Usage
Posted by 2oznet NO[at]SPAM gmx.de at 12/15/2004 7:50:20 AM
Dear all, i am planing to implement a Windows 2003 Cluster with MS SQl 2000 Enterprise Edition. I have 2 Nodes (4 * XEON MP Processors) with 8 GB RAM per Node. I have the need for 6 SQL instances and would like to implement a active-active cluster. What do you think it the best way to confi...more >>

How to get SQL Server Info(Version/SP Version/Server Statistics) from a network.
Posted by SQLDBA at 12/15/2004 7:45:45 AM
Does anyone know how to get SQL Server versions, Service pack versions and the Server that instance of SQL is running on a network. I have seen some threads on how to list SQL servers in a network but I need to find more info about these SQL servers. Any help appreciated..! Thx... ...more >>

SQL Function to convert RTF to plain text
Posted by rob.kellington at gmail at 12/15/2004 7:35:44 AM
Does anyone have the logic to convert RTF formatted data in a text column into plain ascii text that I can use in a varchar variable or field? We have an app that allows formatted comments/notes to be stored in a SQL 2000 text column. Ideally, I would like a trigger that would copy any inser...more >>

Data modeling question
Posted by dbuendiab NO[at]SPAM yahoo.es at 12/15/2004 4:13:03 AM
I'm facing the next problem: I have a table with two columns (among others) modeling category and subcategory data for each row. I need to summarize info on this two columns, but with the next specs: 1.- Some grouping is only on the category column. 2.- Some other grouping consider the two ...more >>

Select Into works, Create table does not
Posted by sd_bradford NO[at]SPAM hotmail.com at 12/15/2004 12:59:37 AM
Hi We are migrating from Access to SQL server. The code is in VB and uses DAO3.6. I have successfully made the connection to the databases on the SQL server and done operations with recordsets. I have also used a SELECT INTO command to create new tables. However CREATE TABLE and ALTER TABLE c...more >>


DevelopmentNow Blog