All The Ids In Temp2 Should Have Same Client And Drug (was Need Sql Help - Urgent)

Oct 10, 2006

I have following tables

Temp1

ID Client Drug
3889aa A
4998cc A
4998dd B
8011ff C
8011gg A

and Temp2

ID Client Drug
8011ff C
8011gg A



I have a conditional loop which changes the values of these 2 tables. I populate temp2 by getting all the similar ids from temp1. e.g: first time 3889 then 4998 then 8011.

my task is, all the ids in temp2 where temp2.id<>temp1.id should have same client and drug. if 8011 has client bb and drug B then 4998,3889 should also have client bb and drug B in them.

if 4998 has client dd and drug B then 8011, 3889 should also have client dd and drug B and so on. means all the records in temp1 should contain similar clients and drugs in them in actual table. I'll need to add the missing client and drug for the ID where its misiing in actual table.

After this process my actual drug table will look like:


ID Client Drug

3889 dd B
3889 cc A
3889 aa A
3889ff C
3889gg A
4998 dd B
4998 cc A
4998 aa A
4998ff C
4998gg A
8011 dd B
8011 cc A
8011 aa A
8011ff C
8011gg A


How can I achive this goal. Please help...

View 1 Replies


ADVERTISEMENT

Try This Coo App Http://members.aol.com/visionnn/download/temp2.jpg

Apr 29, 2001

Try this cool app its such it great for cuting and pasteing. And the hot keys are great for running apps and sending key strokes. http://members.aol.com/visionnn/download/temp2.jpg

View 1 Replies View Related

Data Mining : Drug Trial Question

Nov 20, 2006



I have a a simple situation. I am trying to determine for how long (in months) two drugs should be given to a patient. Both the drugs are administered at frequent intervals and their dosage and the condition of the patient is recorded. How do I determine for how long should I continue to adminster the drugs,at what point should I stop? I am dealing with the following variables : Drug 1 dosage,Drug 2 dosage, Period of medication (in months). Can I use SQL Server 2005 data mining capabilites to get the answer? Please let me know.

View 6 Replies View Related

**Urgent** Remove SQL 6.5 Client

Feb 20, 2002

I cannot see to find how to uninstall SQL 6.5 client from a users PC..
Please can somone advise..

Many Thanks
Darren

View 1 Replies View Related

Urgent SQL Server Client Tools Question

Oct 11, 2007

I have to go back east.. I am going to be working remotely.
We still used SQL Server 2000 at work..
Will I be able to use SQL Server 2005 Express edition to remotely connect to and modify stored procs and tables?
 
what are all my options??

View 1 Replies View Related

Urgent - Client Application Database Choice

Oct 31, 2006

We have a small accounting application which is currently based using DBASE database. We need to change the DB and considering SQL Express. However, is some one can clarify following, it would be very helpful:

1) Application is used mostly by standalone non-technical users. There are cases where more than one user will need to connect to DB.

2) We need to ensure that user can not modify database outside of our application. This is needed to ensure database does not get currpted or passwords lost and then no one can open the database.

3) Installation needs to be simple without providing any options to users except where to install database or point to already installed DB in case its a network environment where 2-3 users can be working on the same database.

4) Application is usually installed on normal desktop machines. So, DB should not load the PC heavily.

Please advice if SQL Express is the right direction even with these constraints? What are the other alternatives? We are open to have a small consulting project as well with someone who can guide us through these issues. Email to contact is rkabra101@yahoo.com



rick

View 1 Replies View Related

Client With Tcp/ip Produce &#34;time Out Error&#34; While Same Client While Switced To Named Pipes

May 28, 2001

We have 15 clients running our applicaton
14 of then conected to SQL server using TCP/IP and it runs fine

1 of 15 when connected using TCP/IP produce "..Time out error "
but runs fine when swiched from TCP/IP to Named pipes

1.What area should we look to correct problem with Time out using TCP/IP ?
2. Where to get information about using TCP/IP via Named pipes ?

View 1 Replies View Related

Install SQL Server2005 Error:[Native Client]Encryption Not Supported On The Client

May 10, 2006

Product: Microsoft SQL Server 2005 -- Error 29515. SQL Server Setup could not connect to the database service for server configuration. The error was: [Microsoft][SQL Native Client]Encryption not supported on the client. Refer to server error logs and setup logs for more information. For details on how to view setup logs, see "How to View Setup Log Files" in SQL Server Books Online.

View 78 Replies View Related

Client Unable To Establish Connection Encryption Not Supported On SQL Server. (Microsoft SQL Native Client)

May 2, 2006

On Windows XP systems I get the following issue when trying to browse the MSDB folder in SSIS

Client unable to establish connection
Encryption not supported on SQL Server. (Microsoft SQL Native Client)

I have noticed another post where several others have noticed the same issue. It appears to only occur on Windows XP installations. Is there a workaround or fix for this?

View 2 Replies View Related

Setup Error : [SQL Native Client] Encryption Not Supported On The Client

Nov 1, 2006

Hi,

I have SQL2000 installed as the default instance, and now I'm trying to install SQL 2005 standard edition as a named instance.

I receive this error :
SQL Server could not connect to database service for server configuration.. [SQL Native client] Encryption not supported on the client. However I'm able to install client tools

The setup works fine on other box with the same config : SQL 2000/Windows XP, is there any work around for this issue ?

In my SQL 2000 client network utilty "Force proctocol encryption " is desabled and did not find the setting for SQL 2005 !

Thank you

View 1 Replies View Related

Upgrade Client Connectiviity Tools On Client Machines

Jul 23, 2005

Hello,Is it necessary to upgrade the Client Connectivity Tools on all clientmachines after the SQL Server database server is upgraded from Version7.0 to 2000?Thank you in advance!Eddy

View 1 Replies View Related

Sql Native Client Or Sqlserver Client

Mar 3, 2007

Hi,

While using Sql Native Client ,VB Application giving error

"Transcation Cannot Start because more than one ODBC connection is in use"

But when useing SqlServer client then work perfectly ok.

Please guide where to use Sql Native Client.

Thanks

Rizwan



View 1 Replies View Related

SQL NATIVE CLIENT - OLE DB Connection On 64 Bit Client

Apr 23, 2008

I have tried this on several different operating systems (VISTA and XP ) and several versions of SQL NATIVE CLIENT including 2005.90.3042.0

I have a 64 bit "SQL NATIVE CLIENT" connection that fails. The exact same connection and code succeeds on 32 bit.
My customer and I prepend "oledb:" to the connection string and it starts working.

FAILS on 64 bit:
Provider=SQLNCLI.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Wrigley_Test;Data Source=MONGO;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=RIPTIDE;Use Encryption for Data=False;Tag with column collation when possible=False;MARS Connection=False;DataTypeCompatibility=0;Trust Server Certificate=False

WORKS
oledb:Provider=SQLNCLI.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Wrigley_Test;Data Source=MONGO;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=RIPTIDE;Use Encryption for Data=False;Tag with column collation when possible=False;MARS Connection=False;DataTypeCompatibility=0;Trust Server Certificate=False

I debugged my code to the point that I know it is happening when I call CreateAccessor for my SQL statement.


m_hr=m_pIAccessor->CreateAccessor(DBACCESSOR_ROWDATA, GetCols(), (m_pDBBinds+IsBookmarked()), 0, &m_hAccessor, NULL);

Error:

Microsoft SQL Native Client: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.

Does anyone have any suggestions?

View 6 Replies View Related

Timeout Expired -- URGENT, URGENT, URGENT!!!

Sep 27, 2000

This morning I can not connect to our SQL Server 7.0 whatever from client or server. The error message which I list below:

++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++
A connection could not be estabished to server--Timeout expired
Please verfy SQL Server is running and check your SQL Server registration properties and try again.
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++

We use windows NT authentication. We did not do any change on NT. The SQL Server daily schedule job usally stoped at 10:00AM, but today from the Window NT Task Manager, we can see that the SQL Server is still running untill now.

Please help!!!

View 3 Replies View Related

URGENT.Sql Server Does Not Recognise MAPI , Or Profile Name URGENT

Oct 26, 2000

hi, I have settup up sql mail and did the following:
1. created an E-mail account and configured Out look by creating a pop3 mail profile. tested it by sending and receiving mail, that is ook
2. I Created one domain account for MSsqlserver and Sql Agent service. both services use same account and start automatically in the control panel-services
3. I used the profile that I created in outlook to test the sql mail but got an error:
Error 22030 : A MAPI error ( error number:273) occurred: MapiLogon Ex Failed due to MAPI
Error 273: MAPI Logon Failed

I really do not know what went wrong. I followed the steps from bol and still having a problem. Am I missing something.

I do have a valid email account
I do have a valid domain account
I tested outlook using the email account and it worked. so why sql server does not recognise MAPI.

My next question, How to configure MAPI in Sql server if what I did was wrong.

View 1 Replies View Related

Urgent, Urgent !! My Sql Server Refused To Start Due To Encrypton

Mar 23, 2001

Hi, I have 2 windows 2000 server in cluster with sql server 2000 enterprise edition installed.
I have activated the Server-Requested Encryption by using the sql server network utility (Force Protocol Encryption). After this, I have stoped sql server service. But I can't start it at this moment.
The error is:
19015: The encrypton is required but no available certificat has been found.

Please help me to start sql server.

Thanks.

Michel

View 4 Replies View Related

Urgent Urgent Please.(Access SQL Pass Through Queries)

Jul 6, 2000

Hello,
I am facing a huge problem in my sql server database using access as a front end.The main problem is trying to execute queries "views" ,since they reside on sql server now,and using variables or parameters in reports and forms to filter on this query.
Ex.
how can the following be implemented using the same query but in sql server?
Access
------
SELECT MAT_Charts.YYYYMM
FROM MAT_Charts
WHERE ((([Area_Code] & "-" & [GROUP_CODE])=[Reports]![MAT_Chart_C1].[MAT_Key]))
GROUP BY MAT_Charts.YYYYMM;

It is specifically this statement in which I am interested:
[GROUP_CODE])=[Reports]![MAT_Chart_C1].[MAT_Key]))

Thank you very much for your concern.

View 2 Replies View Related

Scheduling(URGENT... URGENT)

Dec 20, 2000

Hi everybody,

I have a batch which needs to be run every day night at 2:00 am.I Using At command but it is not working. if u have idea, please let me know

I AM USING THE FOLLOWING COMMAND :
AT 2:00AM C:SCHED.BAT

Thanks in advance
Krishna

View 3 Replies View Related

Urgent Really Urgent Dbcc

Apr 19, 2008

hi all
its urgent really urgent
please reply soon

I am getting error in sysindexes when i run dbcc checkdb on a production db.
the error is Server: Msg 8928, Level 16, State 1, Line 1
please help me to remove this
all the options of dbcc checkdb as well as table are not helping me


thanks in advance

View 4 Replies View Related

SQL Client

Jan 13, 2004

When I try to add a database connection,it say it needs a sql client to continue.I downloaded msde and it still dosnt work.PLease help me out

View 3 Replies View Related

Sql Client 65 To 70

Jul 13, 2000

Hi ,
One of my user is accessing 65 database. she is having 65 client on her work station. SO , she is able to access 65 thru her application. So today i just installed 70 client without removing 65.
SUddenly the front end application is not working either 65 or 70.
It is givng
Application defined error or object defined error.
Pls tell me how to handle the interfacing applications.
Pls suggest me regarding this.

--kavira

View 3 Replies View Related

How Can I Get IP&#39;s Client?

Oct 31, 2000

How can I get IP's clients when they connect to my SQL Server?
Thanks in advance.

View 1 Replies View Related

SQL 6.5 Client

Apr 27, 2000

I have installed SQL 6.5 Client onto my laptop under windows 98. I have copied over the database files from the server. I need to be able to run SQL 6.5 Enterprise manager and see the databases on my laptop. Is this possible? I tried to run enterprise manager but it won't let me do anything. I try to register the server... but my laptop is the one I want to use. Please help! Basically I want my computer so that it does not have to be hooked up to the network. Thanks

View 3 Replies View Related

DTS On NT Client

Oct 18, 1999

Problem with DTS

I can use DTS on SQL Server 7.0 (lets call it SRVR1)to get tables from Oracle 8.0.5 database on Unix and/or on NT, but when I want to do it from my PC which has MS SQL server 7.0 (desktop version) and client installed, and SRVR1 is registered in Enterprise Manager, to run DTS where source is Oracle database and destination is SRVR1 using Import/Export Wizard., after specifying ODBC connection for Oracle as source and clicking 'Next', (which when done on SRVR1 leads to the next screen where you specify destination) on NT client it does nothing, no error is reported and you can keep on 'Next' hundreds of times, it goes nowhere.

I tested ODBC connection to Oracle from my NT client and it works fine, except when used with DTS.

I welcome any suggestions.

Regards,
Zorica

View 2 Replies View Related

SQL SP 5a On Client

Nov 4, 1999

Hi all, here's my question: is there a SP level that the SQL 6.5 _clients_ should
be on to ensure y2k compatibility? One of our packaged apps vendors sent us a
y2k blurb asking us to update both the server (which we'd already done) *and* the
clients to SP5a. Now, we have a large number of clients and installing the SP
on all of them would require a considerable amount of time.
Any thoughts on that? Any experiences? What parts of the client are modified by the SP?
The client is a vendor-built VB front end.

Thanks.

View 1 Replies View Related

What's The Best Client

Jan 3, 2004

environment:
server: windows 2000 server
database server: microsoft sql server 2000+sp3

How to choose the client operation system?
windows98?
windows me?
windwos 2000 Professional?
or
windows xp

thanks



by the way,I am a foreigner.
not good at English.

View 1 Replies View Related

Sql.log On NT Client

Jan 29, 2004

Anyone know where I can find information regarding the "sql.log" placed in the root directory of a client that utilizes SQL Server tools (EP, QA, etc.). I've searched BOL and did not locate any topics regarding this. We had to stop the MSSQLServerOLAPService in order to delete this file as it had grown to > 1GB, after about 10 months use.

I'm curious if this file is also created on client workstations that are just running a SQL app.

View 2 Replies View Related

SQL Client For AIX

Dec 11, 2007

Hello,
We are looking into the feasibility of moving one of our databases off of informix and potentially onto SQLServer. Specifically, I want to understand more about available client API shared libs on the AIX platform. We have applications written in C running on AIX that utilize embedded dynamic SQL. We use an informix precompiler on our existing embedded sql code in C. Also, there is an XA based resource manager that is used as the interface to the data base. The C applications are actually Tuxedo servers. Tuxedo has a resource manager that gets called and passes the SQL calls to the Informix database (no other database involved but MQ is also used in the global transaction that the Tuxedo service is using).

Looks like Tuxedo supports SQL Server XA data source implementation. The question then is 'Does Microsoft have client libraries for AIX?'

View 2 Replies View Related

Sql Server Or Sql Client

Apr 23, 2008

Hi
 
I am using sql server 2005 on my machine. But I have no idea whether I am using sql server or client on my machine.
 
Is there any way to see that
 
Regards
Karan

View 7 Replies View Related

Do I Need To Install The SQL 7 Client?

May 25, 2001

Hello,

I am upgrading existing databases through the wizard from 6.5 to 7.0. If I leave the databases in 6.5 mode do I need to install the SQL 7.0 client?

Thanks,
Darrin Carter

View 1 Replies View Related

SQL Server Client Like SQL Plus

Jun 6, 2001

Newbie Question : Fair Warning ;>

Does SQL Server have a client tool similiar to Oracle's SQL Plus? If so, how do I set that up?

I have installed a desktop edition on my server, and I want to use some client to connect so that I can run queries from another machine. Am I set up correctly, or do I need to install the Enterprise edition on the server to do something like that.

I was thinking of writing a web-based client, but I can't seem to find the time. Plus, I wouldn't want to do that if a solution already exists.

Thanks in advance,
Tommy

View 1 Replies View Related

Sql70 Sp2 For Client...

Aug 8, 2001

Hi, I just recently applied sql70 service pack 2 on some sql70 servers. Has anyone have applied service pack 2 on the client boxes? Are they coming from the same download file sql70sp2i. If not, where can I find the download files for clients? I went searching Microsoft web site, but had no luck on this one.


Thanks in advance,
CC

View 1 Replies View Related

SQL Client Tools

Jul 5, 2000

I need to be able to administer SQL 6.5 and 7.0 servers from a single pc.

I have been told that I can't have SQL 6.5 and 7.0 tools installed on the same pc.

Is this correct? I can't find anything in BOL or Technet on the subject.

Regards,

Kevin Napier

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved