Archived Months
March 2003
May 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
November 2007
all groups > sql server clients > june 2004

Filter by week: 1 2 3 4 5

For getting Idea
Posted by Noor at 6/30/2004 2:17:47 PM
SELECT Parts.SKU, Locations.Description, Manufacturer.Name, PartsLocations.Qty, PartsLocations.LastInventoried FROM Parts INNER JOINT Manufacturer ON Parts.ManufacturerID= Manufacturer.ManufacturerID INNER JOINT Locations ON Parts.LocationID= Loactions.LocationID ...more >>


Select TOP i TO n records...
Posted by Chris Pratt at 6/30/2004 11:44:09 AM
As an extension to the SELECT TOP n ... function, is there a way to select records between a range, ie. SELECT TOP 5 TO 15 ...? Thanks for any help, Chris. ...more >>

current database name
Posted by Noor at 6/30/2004 9:43:00 AM
How I know the current database name in which currently I am standing... any system level funtions Thanks Noor ...more >>

HELP
Posted by Noor at 6/30/2004 9:22:55 AM
I have created one database named test on DServ Server and in that database I have created three fileGroup named Primary, BaseFileGroup, TransactionFilegroup and after that I took the backup of that all filegroup and restore it into another server. (OServ). After a week I took only the backup of...more >>

View
Posted by Noor at 6/29/2004 11:57:33 AM
I have created the Following view but gave me an error while decrypting the View.. CREATE VIEW MyTopCities WITH ENCRYPTION AS SELECT DISTINCT TOP 10 PERCENT ShipCity, ShipRegion FROM Orders ORDER BY ShipCity EXEC dbo.DECRYPT2K MyTopCities,'V' Server: Msg 2812, Level ...more >>

Error !
Posted by Noor at 6/29/2004 10:25:54 AM
I am using the following command but it gave me an error dbcc checktable ('testing') with REPAIR_REBUILD Server: Msg 195, Level 15, State 4, Line 1 'REPAIR_REBUILD' is not a recognized option. Thanks Noor ...more >>

HELP!
Posted by AGFSG at 6/29/2004 10:14:01 AM
I upgraded my SQL Server to 2000. My clients were all running SQL 7 to connect to the database. It was slow, so I upgraded my computer to SQL2000 to test. Now I can't get connected to the database AND my clients can't connect either....more >>

how can I insert !
Posted by Noor at 6/29/2004 9:50:46 AM
I have a following table : CREATE TABLE [dbo].[defaultvalue] ( [id] [int] IDENTITY (1, 1) NOT NULL , [flag] AS ([id] + 1) ) ON [PRIMARY] GO I want to insert the data in it, how can I insert ? Thanks NOOR ...more >>



SQL client network utility
Posted by MajorTom at 6/26/2004 8:53:40 AM
Hi Is possible from a "win form" application to create an alias like the "SQL client network utility" does. TIA ...more >>

MSDE Web Connections Using ASP.net
Posted by Martin Harran at 6/25/2004 10:23:22 PM
MSDE is throttled for 8 concurrent operations. As ASP.net is designed around disconnected recordsets, I'm wondering how busy a site using ASP.net would have to get before the workload governor starts to have a noticeable effect. Anyone have any experience of this or guidelines? Martin Harran...more >>

SQL App for remote access
Posted by Dustin at 6/25/2004 4:52:01 PM
Hey all, Fairly new to the SQL scene, I am trying to access my db remotely. Any free apps that you can recommend? Thanks, ...more >>

Drives Information
Posted by Noor at 6/25/2004 10:33:44 AM
Can any body tell me that Can I know the number of drives in system as well as the used and free spaces of that harddrive through xp_cmdshell Thanks Noor ...more >>

Difference
Posted by Noor at 6/25/2004 9:40:23 AM
Can any body tell me about the different between query and Ad hoc query... when we use this term ad hoc queries. Thanks Noor ...more >>

Simple Query
Posted by Noor at 6/25/2004 9:25:31 AM
Here is the data ID Date Name 1 '01-01-2001' Noor 2 '01-04-2001' ali 3 '01-03-2001' Farhan 4 '01-05-2001' iqbal 5 '01-06-2001' Urooj I want the top 3 descending order records data wise like I want the data like this ID D...more >>

Access 2000 & Stored Procedures
Posted by David at 6/24/2004 8:43:52 AM
Hi All, I've a problem that requires a fairly lengthy introduction by me. If you've the time and the willpower I'd really appreciate your help. I'm running a application based on Access 2000 and SQL Server 2000. The system is designed to allocate a single record to a callcentre agent bas...more >>

SP3a and clients
Posted by john at 6/23/2004 4:34:44 PM
How critical is it that SP3a get applied to client workstations? What are the ramifications of applying SP3a only to the servers? Thank you...more >>

client/server application using Access as front end
Posted by ming at 6/23/2004 12:09:19 PM
Hi, i have this Access database with data entry forms. Now i want to move the data to SQL server and keep the entry system in Access. I tried to create a Access project which is linked with SQL server. the access project is just like a local application, i could make any changes on data and ...more >>

HowTo convert a table row to XML and store it in a text field
Posted by zoli at 6/22/2004 4:26:01 PM
I am trying to do a select like this: select * from mytable where id = 2 for xml auto How can I capture the result in a Varchar or Text variable or immediately insert it in to a table ? ...more >>

dbnmpipe.exe for MS-DOS
Posted by Cash Woodward at 6/21/2004 11:58:33 AM
I recently purchased sql 2000. I need connectivity for an old DOS program. I see that I need the file DBNMPIPE.EXE I can't find this file anywhere on my CD's or on Microsofts website. Where can I get it?...more >>

MS Access and SQL Server
Posted by Tony Myhrberg at 6/21/2004 7:06:17 AM
If you use MS Access to update data in SQL Server i guess you can choose between two methods to connect to a SQL Server databasem, create an access database with a linked table via ODBC or create an access projekt via OLE DB. Both methods gives me problem: Linked Table: When my tables get ...more >>

Master DB restore on another SQL server
Posted by enam77 NO[at]SPAM hotmail.com at 6/20/2004 10:46:33 PM
Hi, How I can restore MASTER database on another SQL server? If I want to resote got msg "restore can be done only from single user mode" - what should I do......more >>

populate full text
Posted by Farhan Iqbal at 6/18/2004 4:53:52 PM
Hi all, I want to populate full text index via query is there any way? please elaborate Thanx Farhan Iqbal ...more >>

Help with Insert/Trigger
Posted by Pete at 6/18/2004 10:55:01 AM
Just curious if there's anything in SQL comparable to a FOR EACH ROW trigger in Oracle. I'm doing an import of a bunch of rows into a parent table using an INSERT/SELECT statement and I have triggers that fire pulling data from the same row in the source table into the child tables and creating t...more >>

CSV Field Stored Procedure
Posted by Steve at 6/18/2004 8:28:59 AM
Hi All, I would like to submit a large amount of CSV text into a = stored procedure. At present I'm using a varchar(8000) parameter and = then converting this into a temporary table using something like the sql = below. My question is does anybody have any suggestions on how to g...more >>

indexing
Posted by skc at 6/18/2004 12:33:14 AM
I am running SQL 2000 and Crystal Reports ASP. I have two tables called customer and invoice. There are 100000 customers and 7200000 invoices. Here are the fields: customer - id ...1 to 100000 - custno ...1 to 100000 - name - address1 - address2 - postcode ...more >>

Complex Query - Part II
Posted by Preet Kanwaljit Singh Shergill at 6/16/2004 11:03:50 PM
I am passing the following query: select type, count(*) as 'Total', sum(case when status = 'Closed' then 1 else 0 end) as 'Closed', sum(case when status = 'Pending' then 1 else 0 end) as 'Pending', sum(case when status = 'Escalated' then 1 else 0 end) as 'Escalated' from ticket where l...more >>

Interfacing with SQL
Posted by Illicom Newsgroups at 6/15/2004 7:11:09 PM
What is the best and quickest way to develop, or download, an interface that clients can use to query sql? Thanks, CJ ...more >>

Passing parameters to a stored proc. from access
Posted by Scamps at 6/15/2004 11:09:58 AM
I have recently moved from developing an Access DB to developing an Access.adp using SQL Server2000. I havent been able to figure out how to pass a parameter from a control in an Access form to a Stored procedure. It was easy in Access but I just dont get it in Access/SQL stored procedure....more >>

Design View
Posted by Don Stull at 6/15/2004 9:19:22 AM
I have a database created by another developer that I purchased and was recently instructed to change some values in some tables form one kind to another like "NOT NULL" to "NULL" or change something to a "FLOAT" I am not that good at SQL but have always done this stuff with the Query Anylizer.....more >>

cant connect to SQL2K running on W2K3SVR but can connect to SQL2K running W2KSVR with same connection string
Posted by Dave at 6/15/2004 12:22:42 AM
Hi, I can't connect using an OLE DB connection string to SQL2K Server (SP3) running on a Windows2003 Server, but using the same connection string (with the address changed of course), I can connect to SQL2K Server (SP3) running on Windows2000 Server. I figure it must be a security issue on ...more >>

LDAP from OPENROWSET
Posted by at 6/12/2004 1:05:26 AM
Anyone have a working example of a LDAP: call from SQL through OLE data access call? ...more >>

Prompt
Posted by Noor at 6/11/2004 3:18:43 PM
In oracle we use Prompt like in the run time it prompt to give input like insert into test (id, name) values (&id&, &name&) How can I fulfill this in SqlServer ? Thanks Noor ...more >>

How to remove a ' from a field
Posted by Jon Hirasaki at 6/11/2004 12:41:02 PM
I need help removing a ' from a field...more >>

Table locked by Firehose Mode
Posted by Tony Myhrberg at 6/10/2004 7:37:24 AM
I have a table in SQL Server that sometimes cant be updated because the table is in "Firehose Mode". There is an article (KB237398) about this and the solution is to list all rows with enterprise manager and that helps. Thge problem is that the table continously get into firehose mode. We ...more >>

Deadlock Problems
Posted by Farhan Iqbal at 6/9/2004 11:37:10 PM
Hi all Now a day I am facing too-many deadlock problems, is there any way or possibility that I make automated job, for diagnose the deadlock victim and kill that process. Any advice will be greatly appreciated. Farhan Iqbal ...more >>

One question
Posted by Noor at 6/9/2004 11:24:02 AM
I want to ask one question regarding optimization point of view like I have one table named ExerciseDetail and when any updation perform from the front end so first we delete all the records in Exercise detail against specific Exercise Plan ID and then again insert all the records so can any bo...more >>

SQL through Front Page
Posted by art at 6/9/2004 11:01:06 AM
What do you do when you are doing a search of a SQL database through Database Results Wizard and an asp page and the error comes back Database Results Erro The operation failed. If this continues, please contact your server administrator Nothing in the event viewer on either the web server ...more >>

EM slows windows
Posted by Andy Mous at 6/9/2004 7:08:54 AM
Often, EM running on my desktop will cause all other windows either to refresh very slowly or not at all. (I may get a border with some of the display) I can't navigate to any window completely until I shut down EM. SQL 2000 running on Win2k. Thanks....more >>

when I try to add an ODBC connection
Posted by Dave at 6/9/2004 6:18:31 AM
This is the message that I get; "The setup routines for the SQL Server (32 bit) ODBC driver could not be loaded. You may be low on memory and need quit a few applications." Running Win XP Pro SP1. PC has 256 MB of RAM. Pagefile is set to a maximum size of 1500 MB. Why do I get this ...more >>

Logshipping error
Posted by Noor at 6/8/2004 7:03:29 PM
I have received the following error in the logshopping=20 3041 : BACKUP failed to complete the command BACKUP LOG [LMS] TO DISK =3D = N'D:\Program Files\Microsoft SQL = Server\MSSQL$XORBIX\BACKUP\LMS_tlog_200406081859.TRN' WITH INIT , = NOUNLOAD , NOSKIP , STATS =3D 10, NOFORMAT=20 Thank...more >>

GOOD URL OF LOG SHIPPING
Posted by Noor at 6/8/2004 1:00:20 PM
can any body give me any good URL from where I can buildup the good understanding of Log Shipping with practicle example Thanks Noor ...more >>

Active X sql error
Posted by Matt at 6/8/2004 10:35:42 AM
Sql Windows/32 ActiveX error ActiveX object creation failed-please check that your installation is valid. How can i fix this error? The user can execute the command on other machines except his own. Is there something Im missing? ...more >>

Log Shipping
Posted by Noor at 6/7/2004 2:20:15 PM
Dear Professional Can any body tell me that IsLogshipping auto restore the database or we have to do it manually ? Thanks NOOR ...more >>

Query Question
Posted by Don Stull at 6/7/2004 10:48:06 AM
I have been using Enterprise manager and I am trying a simple query and keep getting an error that my syntax is incorect. As I recall I have done this before. Query is ALTER TABLE ProdAddons ALTER COLUMN ProdMult NULL GO The server does not like the workd NULL the column is currently NOT NULL ...more >>

Windows 98 & Windows XP ODBC connection
Posted by matmcl at 6/4/2004 5:26:03 AM
I have an SQL database which sits on a Win 2000 server and is accessed by various clients (Win 98, xp, 2000, NT) This server has crashed (beyond recovery for the time) and I have loaded SQL Server Clinet Tools and MSDE on to a Win XP Pro machine. I am trying now to connect from the Win 98 client m...more >>

Convert bit feld to Yes/No
Posted by Ron Hinds at 6/3/2004 1:05:30 PM
SQL2K backend Access 97 MDB frontend. I have a ComboBox whose Recordsource is a SQL Passthrough Query. One of the returned fields is a Boolean value - bit field in SQL Server. But I want it to display in the Access combo box as either Yes or No. Currently Access displays 0 or -1. Fine for me, but...more >>

General problems in EM
Posted by Peter Apostolakopoulos at 6/3/2004 8:56:45 AM
I am having some general problems in EM. 1. When trying to open a table I get an error message saying: "Unknown error: 8007007E" 2. When trying to open a DTA package in DTS Designer I get an error message saying: "The specified module could not be found". Any ideas would be greatly we...more >>

There are no active configurations on this workstation
Posted by Steve at 6/3/2004 3:38:51 AM
Above message comes up attempting to contact the MSDE server. What does this mean ??...more >>

Timeout Error
Posted by Noor at 6/2/2004 5:31:39 PM
Can any body tell me about time out error. I am facing timeout error from my application result.asp page and when I saw the message in the event viewer so it gave me the following error. nitconfig: Error 32(The process cannot access the file because it is being used by another process.) openin...more >>

Login Failed
Posted by Noor at 6/2/2004 1:28:29 PM
Yesterday my sql server was running properly but after reinstalling primary domain controller I failed to login like when I login through windows authentication so it gave an error that login failed and if I log through sa password then it gave login failed for default database. Can any body g...more >>


DevelopmentNow Blog