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 > november 2006

search/replace NTEXT field sql server 2000
Posted by jtfaulk NO[at]SPAM eudoramail.com at 11/30/2006 5:00:04 PM
I would like to search and replace a NTEXT field in sql server 2000. Does anybody know how to accomplish this? Thank you. ...more >>


Newbie MS SQL Server 2005 -- where is the enterprise manager?
Posted by hzgt9b at 11/30/2006 10:43:51 AM
I have the following Microsoft SQL Server 2005 items installed on my XP SP2 dev machine: =B7 SQL Server Configuration Manager =B7 SQL Server Error and Usage Reporting =B7 SQL Server Surface Area Configuration None of these tools allow me to create/open/edit databases... Where do I get db sch...more >>

Backup - add date to name of file
Posted by tom at 11/30/2006 12:00:00 AM
Hello, I have this command line for backup: BACKUP DATABASE [MyDB] TO DISK = N'C:\backup\MyDB_daily.BAK' WITH INIT , NOUNLOAD , NAME = N'MyDB_daily_backup', SKIP , STATS = 10, NOFORMAT but Id like this name of backup: "MyDB_daily_%date%.BAK" so for exmaple "MyDB_daily_2006-11-30.BA...more >>

Help with a Transact-SQL query (difficulty: medium)
Posted by Brian Link at 11/29/2006 10:31:36 PM
Panicked, as usual. Who says it's great being a sole proprietor? Three tables: A_Appointment, AX_Appointment_Entity and E_Entity. AX_Appointment_Entity is an intersect/association table between A_Appointment and E_Entity. One appointment may have many attendees (Appointment_Entity). One attend...more >>

Impossibly remote connections to SQL 2005 express
Posted by gregory.white NO[at]SPAM ntlworld.com at 11/29/2006 9:07:04 AM
I have spent the best part of 4 days trying to connect to SQL 2005 express from an winforms app! Yes , I have checked surface config and TCP/IP blah blah ... I have trawled the net and spent countless hours on MSDN and many have tried to help. I have changed the passwords to strongly typed... ...more >>

SqlServer 2005 Express
Posted by LWM at 11/29/2006 12:00:00 AM
I want to install SqlServer 2005 Express in Disk D not Disk C. What commond shoild I have to run? Please give me a favor, Thanks Any ideas appreciated ...more >>

import/export
Posted by Art at 11/28/2006 7:41:02 AM
Hello all, I've installed the SSIS component and i'm trying to import data into an existing table. I can't find an option, via the import/export wizard, to direct the import to a specific table. What happens currently, is a new table is created each time I import. Does anyone know how to d...more >>

Import a csv into existing table
Posted by Irene at 11/28/2006 2:16:33 AM
I have a table containing data. I need to append some more data from a csv into the same table. I would have used DTS on sql server 2000 but I cannot see how to achieve the same with sql server 2005. Any ideas? EggHeadCafe.com - .NET Developer Portal of Choice http://www.eggheadcafe.com...more >>



Login Failure with SQL Server 2000
Posted by Ron at 11/26/2006 6:26:57 PM
I just reinstalled SQL Server, server & client. When I try to start, the server name comes up as GATEWAY_COMPUTE and the services as SQL server. When I try to start, I receive error message' The Service did not start due to a login failure'. It never even asks for a User ID or password. Does ...more >>

Setting a default value for a bit field?
Posted by _adrian at 11/25/2006 2:32:17 PM
I've got a table where one of the fields is "bit" .. and I need to set it so that if no value is inserted with the new record, the value of that field should be "0" (zero) .. but instead, the table shows <null> instead!!! This is wreaking having with my ASP.. Entering in 0 by itself in the "De...more >>

will msde interfere with sql server 2005
Posted by Daniel at 11/25/2006 9:23:43 AM
MSDE is used by Server 2003 for intranet and monitoring. Will it interfere with the installation of SQL Server 2005? Daniel ...more >>

dbo userid object prefix
Posted by mharness at 11/24/2006 7:09:58 PM
Hello, I'm trying to get my database setup on my isps sql2000 server and am having trouble getting the object prefixes to make sense. What I would like is for all new objects to be created with the dbo prefix, perhaps so that I don't have to explicitly use either the dbo or any userid pr...more >>

Best way to reuse query result? (in a paging scenario)
Posted by info NO[at]SPAM programmersheaven.com at 11/22/2006 3:20:24 PM
Hi Using SQL Server 2005. I have a fairly complex query that I apply paging to using the With statement like (dummy sample taken from http://davidhayden.com/blog/dave/archive/2005/12/30/2652.aspx) WITH LogEntries AS ( SELECT ROW_NUMBER() OVER (ORDER BY Date DESC)AS Row, Date, Descript...more >>

dropping schema cascade
Posted by fireball at 11/21/2006 3:33:44 PM
hi, please, how to drop schema with all schema objects? thx ...more >>

2000 import of 2005 data
Posted by MKerr at 11/21/2006 1:47:47 PM
I'm new to SQL 2005 and am wondering if there is anyway to export/script a 2005 database (including the data) into a file, then import that file into SQL 2000. I've tried using the script option in Object Explorer, but I don't seem to get the data into the script file with it. Thank you for ...more >>

SQl 2000 db restore
Posted by venkat at 11/21/2006 10:01:40 AM
Hi, I have a sql 2000 production back up file (.bak) around 10 gb in a NETWORK drive. But i have only 9gb local HD space. I am interested in restoring only the data (.mdf) , not the log to a local db from the network bak. I think the data will be around 2 gb or so. Is there any way i ca...more >>

Microsoft Open Licence Program - What is it?
Posted by David at 11/20/2006 11:27:17 PM
Hi all, We were about to buy a copy of Windows SQL Server Workgroup edition. We noticed that the supplier sells both boxed version and MOL versions. We will later on need to buy additional CAL's, and only noticed these marked up as MOL items. As the prices were the same, is there any reason t...more >>

Linking into SQL Server Express
Posted by Rob M at 11/20/2006 7:53:02 AM
From my SQL Server database, I would like to add a link to a table in 4D. I don't see how to do that, and cannot find any documentation. Can anyone help?...more >>

SQL What?! Need help/advice- SQL 2000
Posted by Ivanl at 11/17/2006 6:50:02 AM
Hi, I need to learn about SQL server. Ultimately, I would like to use it for business intelligence, to learn about my customers (e.g. how many are above 65, are male, and have x product). I also need to create management reports, and extracting info for a company scorecard would be great...more >>

Default Values - Use of brackets
Posted by Mark at 11/16/2006 1:12:31 PM
For default values in sql server 2000 should I use brackets around default values? E.g. Is there any difference between GetDate() and (GetDate()) and 0 and (0). Both methods seem to work fine, but is there a correct way? Thanks ...more >>

Maintenance Plans
Posted by Tracy Montgomery at 11/16/2006 7:19:17 AM
I have a maintenance plan set-up to backup all user databases on SQL 2000 Server. I was wondering if there is any way to modify the .bak file format. Currently the bak files are (saved to disk and written to tape) with the following format (user_db_2006111160200.bak.) Is there any way to exclud...more >>

Date format in view
Posted by SAC at 11/15/2006 6:24:01 PM
I have a smalldate field show as yyyy-mm-dd mm:ss I like it to show mm/dd/yy. What can I do? Thanks. ...more >>

copy view as table to new server
Posted by Matt Williamson at 11/15/2006 2:05:46 PM
I need to copy a view from one server to a local MSDE instance on my computer as a table. I've created the table but I'm not sure what the best way to copy the data returned from querying the view would be. Currently to run a query against that view on the server it is on, it takes about 30-...more >>

Run procedure in sql 2000
Posted by Guy Cohen at 11/14/2006 5:17:27 PM
Hi all I saw that in sql server 2005 express - I can right click a stored procedure and run it. Is it possible in sql server 2000? How please TIA Guy ...more >>

Difference between a role and a schema
Posted by David Veeneman at 11/14/2006 9:40:33 AM
What's the difference between a role and a schema? Both appear to be bundles of permissions owned by a user. But a schema can be owned by only one user, while a role can be assigned to multiple users. If that's the case, then when creating a new database user in SQLSMS, why do I have lists ...more >>

What does this mean?
Posted by Jim in Arizona at 11/13/2006 9:13:18 AM
I got this warning: Warning: The table 'survey06' has been created but its maximum row size (96219) exceeds the maximum number of bytes per row (8060). INSERT or UPDATE of a row in this table will fail if the resulting row length exceeds 8060 bytes. I'm not sure what this means to me. ...more >>

Easy .. .syntax
Posted by Alejandro at 11/10/2006 4:19:06 PM
What is wrong with this statement ? SELECT Caseid FROM (SELECT DISTINCT Caseid, userid FROM Atts) A ...more >>

Pass variable value to recordset
Posted by Alejandro at 11/10/2006 4:01:46 PM
I have a page where I set the value of a variable this is the name of the variable: attynumber Code to assign the value to the variable is VB: <% Dim str str = Request("AttyParalegals") str = Trim(str) Do While InStr(1, str, " ") str = Replace(str, " ", " ") Loop Dim numberofw...more >>

count number of items in string comma delimited
Posted by Alejandro at 11/10/2006 3:49:04 PM
Is it possible to count the number of items from a comma delimited string ? I select * from table where id IN (parameter) the parameter is: 18,23,324,34 That is four items, is it possible to count how many items are in the string ? so that the results in the case above results would be : ...more >>

How do i find indexes of the columns in SQL server 2000
Posted by frien at 11/10/2006 2:02:03 PM
How do i find indexes of the columns of all the tables of the datbase...........most importantly in SQL server 2000 Thanks a lot ...more >>

Comples query with 3 tables -- experts maybe ?
Posted by Alejandro at 11/10/2006 12:11:50 PM
I have been unable to do this query, perhaps an expert can help. I dragged too much and now client needs this urgently, like if they ever don't :) .. anyways, any help is greately appreciated. I am using MS SQL 2000, I have 3 tables. Table#1: Baskets 3 basketid int 4 0 0 basketname nv...more >>

Book on SQL Server 2005 Express
Posted by CAM at 11/9/2006 9:15:50 PM
Where can I buy a book or learn more about SQL Server 2005 Express. I want to learn more about it. Thank you in advance. ...more >>

SQL Server 2005 Express number of users and scaleability
Posted by CAM at 11/9/2006 9:06:56 PM
I planing to make an enterprise wide inventory database using Visual Basic.Net and I wondering if SQL Server 2005 Express can handle 30 users at a time and from different parts of the United States or do I need to buy the full version of SQL Server. Thank you in advance. ...more >>

can't find free download
Posted by R at 11/8/2006 5:06:18 PM
I used to have a Microsoft SQL Server application set on my laptop that included the following tools: Books Online Client Network Utility Query Analyzer Configure SQL XML Support in IIS Enterprise Manager Import and Export Data Profiler Server Network Utility Service Manager Does any...more >>

Must use an updateable query
Posted by SAC at 11/8/2006 8:48:43 AM
I use ms access as a frontend and have been running a daily update from an as400. Today it failed and said I must use an updateable query. Any ideas on what could have happened? Thanks. ...more >>

Converting SQL Tables to Flat Files
Posted by Tony S. at 11/8/2006 6:31:02 AM
I'm not even a novice on SQL, so this may be out of my league, but I need to find out how to convert SQL Tables to Flat files. I imagine I will need a converter of some sort, right? The scenario is... a subcontractor sent files to us in SQL Tables unlike the last year when they were sent in a ...more >>

Convert string to date
Posted by SAC at 11/6/2006 4:32:45 PM
I have a string 20061016 that I want to convert to a date field so it winds up like this: 10/16/2006 What's query syntax to do this? Thanks. ...more >>

When was a user created?
Posted by Bob at 11/6/2006 6:14:02 AM
Hello, From the nature of the question you will probably gather I am not a SQL admin. Recently we had an issue where the server our SQL instance resides may have been compromised. As a check I would like to determine when SQL account where created in case one was added that should not be ...more >>

Database Newbie Question
Posted by Thomas Grassi at 11/6/2006 12:00:00 AM
I had to change my sql database to Simple recovery method because of Windows One Care runs VSS. After I changed the data base to simple my maint plans fail to run. I get this error: Event Type: Warning Event Source: SQLSERVERAGENT Event Category: Job Engine Event ID: 208 Date: 11/6/2006...more >>

SQLCMD escape character for "-" in database name
Posted by shikarishambu at 11/2/2006 1:34:29 PM
I am trying to create backup scripts using SQLCMD I have a database whose name is has a hypen - data-base SQL requires the name to be provided in quotes BACKUP "data-base" TO DISK='D:\destination\file.bak' WITH INIT Now, I am not sure how to do that when I have variables that get substitut...more >>

Obtain Mcse,Mcsa,Mcdba,Mcsd .Net,Ccna,Ccnp Without Exams(Pay After Check Resutls)100% Passing Gaurantee
Posted by Certificaiton At ur Doorstep at 11/2/2006 1:18:26 PM
All Certifications Like MICROSOFT,CISCO,COMPTIA,SOLARIS,ORACLE,SAP,MICOSOFT BUSINESS SOLUTIONS,EMC at your doorstep without exams..and with 100% passing guarantee...No need to go to any testing centre...we will do everything on behalf of you... We own several test centres worldwide and are able...more >>

Update error
Posted by SAC at 11/2/2006 12:00:00 AM
Not sure what I'm doing wrong. Here's the sql statement and the errors I'm getting are afterwards. Thanks for your help! UPDATE Sam.TWDHPO SET Sam.TWDHPO.ConfirmedShpDate = Sam.tblDateSelected.NewDate, Sam.TWDHPO.ScheduledDate = Sam.tblDateSelected.NewDate, Sam.TWDHPO.POAcknldgmntDateT...more >>

List of Tables in 2005
Posted by Vayse at 11/1/2006 11:01:10 PM
In SQL Server 2005, is there a way of printing off the list of tables? Like there was when you right clicked in SQL 2000. Thanks Vayse ...more >>


DevelopmentNow Blog