473,544 Members | 2,517 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft SQL Server Forum

Microsoft SQL Server database RDBMS - Ask questions about MSSQL administration, queries, errors, xml, data access, transact-sql, tools, mirroring, integration, setup, stored procedures, merging and more.
0
1,253
thread by: Paul Mc Cleary | last post Jul 20 '05 by: Paul Mc Cleary
Hi, I am currently working on a VBA project that links to a SQL Server 7.0 database using a connection string. When I use a SQL user account in the connection string, everything works fine. However, when I use a SQL user account with NT authentication , the login attempt fails every time. I have checked all the individual settings for each...
2
7,051
thread by: bigDWK | last post Jul 20 '05 by: bigDWK
Hi- Is it possible to do a trusted connection for a web server not on the same physical machine. By this I mean can I make a remote connection from a web server to a sql server using a trusted connection. If so, how? Thanks, Dave
2
9,258
thread by: jagdishkab | last post Jul 20 '05 by: Daniel Morgan
When I try to connect to a MS Access 2000 database in enterprise Manager , i get an error "Login failed - Catalog information cannot be retrieved". I get this error message in a dialog box about 5 or 6 times. The
0
3,660
thread by: xabid | last post Jul 20 '05 by: xabid
Hi I'm want to create OLEDB connection in Crystal Report 9 to Informix database using IBM Informix OLEDB Provider and got this error message. Logon failed
1
11,797
thread by: Alexandar | last post Jul 20 '05 by: Dan Guzman
use database db1; use database db2; use database db3; .... Duration for this example is 3 second, size of database db1, db2, db3 is 100MB each, Does anyone know how to speed up this !!! Win2000SP2, MSSQL 7.0 SP4
3
15,923
thread by: Josh | last post Jul 20 '05 by: Shervin Shapourian
I need a query that will select the closest date. I have to tables Pricing and InventoryItem. tblInventoryItem InventoryItemID <- Pk Description tblPricing
1
8,599
thread by: ann han | last post Jul 20 '05 by: Dan Guzman
I got help from Dan Guzman on how to set single-user-mode. Thank you very much. After seting single-user-mode, I run DBCC CHECKDB ('MYDATABASE',REPAIR_REBUILD) Tehre are error messages. How can I repair torn page problem? Thanks.
8
39,871
thread by: Benny Chow | last post Jul 20 '05 by: Benny Chow
Hello, I need help in writing a SQL statement in MS SQL Server 2000 to select the latest date (i.e., the date closest to or equal to the current date) for a given date. For example, in a table I have the following records: Date Exchange-Rate 01/Sep/03 0.55 05/Sep/03 0.59
1
1,845
thread by: Hammy Hammy | last post Jul 20 '05 by: Erland Sommarskog
Hi all, I have an invoice table query that returns 10 records. ie. there are 10 invoices. When I try to join a subjects table to retrieve the subject name associated with an invoice it returns 11 records. I know this is because for each invoice, there might be multiple subjects. So when I join the subject table to get the subject's name,...
1
2,803
thread by: Robin Tucker | last post Jul 20 '05 by: Erland Sommarskog
Just a quick question about connection management. My application will never need more than 1 or 2 connections about at any given time. Also, I do not expect many users to be connected at any given time. For efficiency, I would like to keep connections alive throughout the lifetime of the objects requiring them, rather than opening a new...
2
17,616
thread by: Leonardo Almeida | last post Jul 20 '05 by: Erland Sommarskog
Hi, I have two tables in differents databases : Master database : ServerInformation where there is a table called "Clientes" and Table "Documentos" in the Database Index2003 What I need to do via Trigger is update the table "Documentos" in the field "Cliente" everytime the "Clientes" table change the field 'Cliente'.
2
7,201
thread by: elsC | last post Jul 20 '05 by: elsC
Bonjour, Je viens d'installer SQL Server 2000 Dev edition. J'ai créé des connexions sécurisées SQL Server et pourtant lorsque j'essaie de me connecter avec PHP (mssql_connect('localhost', 'uselsC', '333')) j'obtiens cette erreur:
1
3,014
thread by: igor | last post Jul 20 '05 by: Simon Hayes
How to encrypt a column in a table (i.e. which might contain passwords)?
2
2,844
thread by: Bob | last post Jul 20 '05 by: Bob
How do you find the number of licenses that are installed on a SQL Server 2000?
2
3,446
thread by: Bill | last post Jul 20 '05 by: Bill
I have an entry form allowing customers to enter up to 15 skus (product id) at a time, so they can make a multiple order, instead of entering one sku, then submitting it, then returing to the form to submit the second one, and so forth. From time to time, the sku they enter will be wrong, or discontiued, so it will not submit an order. ...
7
6,681
thread by: Mirth1314 | last post Jul 20 '05 by: Mirth1314
Hi,, I'm having a problem with calling a function from an activex script within a data transformation. the function takes 6 inputs and returns a single output. My problem is that after trying all of the stuff on BOL I still can't get it to work. It's on the same database and I'm running sql 2000. when I try to call it I get an error...
2
4,597
thread by: wireless | last post Jul 20 '05 by: wireless
In our database is a decimal field with format YYMMDDhhmmss.9999999999 where the 9s are random digits. I'm trying to strip off just the YYMMDD and put it in date form. So far I came up with: SUBSTR(TO_CHAR(rec_num,99999999999),1,6) AS Date which returns YMMDD. For example where the rec_num is 30608124143.47069519725 the above functions...
0
2,009
thread by: Taras | last post Jul 20 '05 by: Taras
Hello! I have a problem. I'm using a dataset in VB.NET with multiple tables with relations between them. I would like dataset to update to all related tables with right identity, when certain record is added. The problem is that I don't know how to do it, when I'm not using stored procedures. I found an article in which OnRowUpdated event...
6
4,283
thread by: Mirek | last post Jul 20 '05 by: BJ Freeman
Hi, The application setup is: Access frontend + ODBC (TCP/IP) + MSSQL7 Few days ago i was informed that the app generates high network traffic. Thus i started to look for some savings. I found out (sniffer) that even if the client is idle every 30sek. a TCP packet comes from client to server, then answer goes back. The
2
9,968
thread by: Tod1d | last post Jul 20 '05 by: Erland Sommarskog
Hi, I am having an issue with SQL server that slows everything to a crawl, and makes almost any query impossible to complete. Here are the symptoms: I stop SQL, I start SQL. The task manager shows SQL starting up and quickly allocates 50 MB of memory. I then open SQL Manager and I can open up the instance of SQL Server and I expand to...
3
1,703
thread by: Bas | last post Jul 20 '05 by: Erland Sommarskog
Hi, I'm using SQL Server 2000 MSDE on a laptop running Windows XP. I have a couple of SP's that that quite some time to compile. So I was wondering: is there any way to have the database *not* recompile them every time after a reboot? BOL says: "As a database is changed by such actions as adding indexes or changing data in indexed...
1
3,822
thread by: nospam | last post Jul 20 '05 by: Erland Sommarskog
Hello - Anyone have any thoughts on which API to use - ADO or ODBC? I have a fat client written in C++ using MFC ODBC classes to access a Jet database. The app is going to be modified to write to a SQL Server central database with multiple users accessing their local copies of the database ( using replication technology on the clients...
2
9,101
thread by: John Jayaseelan | last post Jul 20 '05 by: Erland Sommarskog
Hi, The following parameter query resulted the error below. Is the following syntax correct? select * from branch where branch_code = ? COUNT field incorrect or syntax error
3
3,036
thread by: Brian Oster | last post Jul 20 '05 by: Erland Sommarskog
After applying security patch MS03-031 (Sql server ver 8.00.818) a query that used to execute in under 2 seconds, now takes over 8 Minutes to complete. Any ideas on what the heck might be going on? I have tested this extensively and can say for certain that installing this hot fix is what has caused the performance problem. I just don't...
3
2,961
thread by: PipHans | last post Jul 20 '05 by: Erland Sommarskog
Hi, Plz, I need some info (SQL2000) :) A stored procedure is like this: "Select table1.id, table1.txt, (select table2.nr from table2 where table2.fk_table1=table1.id) as nr where table1.id<>10" The essence here is that "select table2.nr from table2 where

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.