Vista Is Going To Drive Me Insane With SQL

Oct 26, 2007

I upgraded to Vista last week. I immediately lost complete access to SQL Server 2000 (screw the money it cost to buy, I'm past that now). Now I CANNOT access my data!!!!!!!!!!!!!!

How the heck do I install SQL Server Express on a laptop with Vista. It has a dual core intel chip. I have installed/uninstalled every f'ing SQL Server Express out there. I keep getting an error about not allowing remote connections so (error 26). I can't take anymore. I've spent 3 days on this problem.

Can someone give me a link for a download or at least tell me how to get SQL up and running. I need my data!!!!!!!!!!!!!! I need my applications!!!!!!!!!!!!

I'm about to just go out and buy a new computer.

View 4 Replies


ADVERTISEMENT

CURSOR Is Driving Me Insane!!

Jan 13, 2007

We have a tree structure containing section names.  Each node is a
section name and each section can have subsections.  I have to copy the
tree structure but need to maintain the parent-child relationship
established within the id / parent_id fields.  How do i acheive this?For example i have the treeSection 1   |-Section 1.1Section 2   |-Section 2.1The
"Section" table contains 3 fields: id, parent_id, and caption.  ID is
the identity of the section record and parent_id contains NULL or the
ID of this record's parent to create a child.  So "Section 1" (id=1,
parent_id=null), "Section 2" (id=2, parent_id=null), "Section 1.1"
(id=3, parent_id=1), "Section 2.1" (id=4,parent_id=2).I would
like to copy this sucture to create 4 new sections but they need to
maintain their id/parent_id relationships BUT with new IDs.  For this i
created the following stored procedure:----------------CREATE PROCEDURE [dbo].[CopySection] AS     -- Declare a temporary variable table for storing the sections     DECLARE @tblSection TABLE     (          id int,          parent_id int,          caption varchar(max),     )     DECLARE @newAgendaID int, @newSectionID int;     DECLARE     @tid int, @tparent_id int, @tcaption varchar(max);BEGIN     -- SET NOCOUNT ON added to prevent extra result sets from     -- interfering with SELECT statements.     SET NOCOUNT ON;     -- Copy the desired sections into the local temp variable table     INSERT INTO @tblSection SELECT id, parent_id, caption FROM tblSection ORDER BY parent_id;     -- Using a cursor, step through all temp sections and add them to the tblSection but note its new ID     DECLARE c1 CURSOR FOR SELECT * FROM @tblSection ORDER BY parent_id FOR UPDATE OF parent_id;     OPEN c1;     FETCH NEXT FROM c1 INTO @tid, @tparent_id, @tcaption;     WHILE @@FETCH_STATUS = 0     BEGIN                   -- Insert the new Section and record the identity          INSERT INTO tblSection (agenda_id, parent_id, caption) VALUES (@tparent_id, @tcaption);           SET @newSectionID = SCOPE_IDENTITY();          -- Update the temp variable table with the new identity from the newly created real section in tblSection                -- Update all temp variable records to point to the new parent_id          UPDATE @tblSection SET parent_id = @newSectionID WHERE parent_id = @tid;          FETCH NEXT FROM c1 INTO @tid, @tparent_id, @tcaption;     END     CLOSE c1     DEALLOCATE c1     END----------------The
critical "UPDATE @tblSection" part doesnt seem to update the temp
variable table with the @newSectionID (the actual section identity
obtained after inserting a real record into the tblSection table).  So
in the end the inserted records into tblSection still point to the
incorrect parent_id instead of the copied record's parent_id.Maybe I'm using CURSOR incorrectly or not setting a parameter so that it refreshes its recordset?  I've tried using both table variables and temp tables but no luck.

View 2 Replies View Related

Replicate Every 15 Minutes: Insane?

Jan 15, 2008

The company I work for has no experience with replication, and neither have I.
Now I recieved a functional specifications document and apparently what they want is use replication to maintain a copy of a production database on the data warehouse server.
The database is 70GB, and they want to do it every 15 minutes (so their reports will contain up-to-date data).

As I said, I know nothing about replication, but to me, this sounds like madness. I fear that this will will (at least) have a negative impact on the performance of the production database.

So is it possible? Does replication have a big impact on the database or is it hardly noticable? I expect about 500 new records every 15 minutes; production database and data warehouse are on different servers; both are SQL2005.

View 6 Replies View Related

Ugh...timeout Error Driving Me Insane

Mar 28, 2006

ok here's the deal...

I've got 2 identical DB's on the same server, one production, one test. No we don't have a test env, but at least I'm not testing on a prod DB (some people here do, trust me).

I've got a prod VB6 app that used SQL sp's. I've pointed the ADO connection string to the test DB while I make the changes I need to make, and I'll obviously change it back before I'm done etc.

I made some VERY minor changes to one of the sp's (added a variable, changed some stuff), tested thoroughly in query analyzer (runs with no errors in <1 sec), altered my ADO command accordingly and when I executed I get this:

run time error '-2147217871 (80040e31):
[Microsoft][ODBC SQL Server Driver] timeout expired

The connection to the server is fine, I've tested that - it trips on the execution of the command:

Set rstCalls = conHelpArchiveConnection.Execute(SQLQ)

so here's my question: The prod version of this app works like a charm, and the test app times out. I'd rather not toy with the connection timeout setting on the server. Any thoughts on what could be causing this?

Any help would be appreciated, I'm ready to throw in the towel. Well at least until tomorrow morning ;)

View 7 Replies View Related

Can I Used A Shared Drive Rather Than A Mapped Drive With OpenRowSet?

Apr 4, 2008



Hi

I have been trying to use openrowset with a shared drive, and even though the share has "full control" permissions granted to "everyone" and the accout that SQL runs under has been granted explicit full control permissions I am unable to open the file which itself has no security on it.

Can I not use a \ path and only use mapped drives?

Thanks

below works...

SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=C:5People.xls', [Sheet1$])

below doesn't work...

SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=\cluster02FileManager5People.xls', [Sheet1$])

View 3 Replies View Related

How To Move A Log File From &#39;e&#39; Drive To &#39;f&#39; Drive....

Nov 9, 2000

I am trying to move a log file from one drive to another.

What I have done is add another file to my file group. So now my log has a file on the 'e' drive and one on the 'f' drive. I now want to remove the file on the 'e' drive. I have emptied the file on the 'e' drive. When doing the command:

ALTER DATABASE Uniprodruntime
REMOVE FILE m_rk_runtime_log

I get the following error message..

Server: Msg 5020, Level 16, State 1, Line 1
The primary data or log file cannot be removed from a database.

I have also gone into enterprise manager and tried to delete the file and it does nothing.

Has anyone run into this?

View 2 Replies View Related

SAN Drive Speed Vs Local Drive

Feb 12, 2007

How do you compare SAN drive vs local drive on a 32 bit server?

Is it good idea to move my DB files to a SAN instead of local?

Canada DBA

View 4 Replies View Related

TempDB Keeps Getting Filled And It Is In C Drive But It Should Be In T Drive

Nov 28, 2015

Server: SQL 2008 R2

 1: TempDB keeps getting filled.  Restart of the server has not fixed it. I shrink it, but the space gets filled again. Now I can't even shrink it anymore
2: TempDB is at the wrong location. Its current location is this :C:Program FilesMicrosoft SQL ServerMSSQL10_50.SQLPROD6MSSQLDATA empdb

How do I change its location? 

C:Program FilesMicrosoft SQL ServerMSSQL10_50.SQLPROD6MSSQLDATA empdb
Correct location of TempDB should be: TempDB(T:) But its not there

View 13 Replies View Related

Moving A SQL Server 2000 Database From A Local Drive To Another Local Drive

Jan 31, 2008

Being a very novice SQL Server administrator, I need to ask the experts a question.

How do I go about moving a database from 1 drive to another? The source drive (C is local to the server, but the target drive (E is on a Storage Area Network (SAN), although it is still a local drive for the server. I want to move the database from C: to E:. Can someone provide me with instructions?

Thanks,
Rick

View 4 Replies View Related

SQL 2012 :: How To Backup Half Of DBs From A Server On C Drive And Other Half On D Drive

Jan 16, 2015

How to backup half of dbs from a server on C drive and the other half on D drive and vice versa, first half on D drive and other half On C drive using only one job and one stored procedure??

Using scheduling from job add 2 schedules to the job so first schedule backup first half to C and second half to D , the second schedule backup first half to D and second half to D.

View 1 Replies View Related

Map Drive

Aug 13, 2004

If my computer has a map drive, i want to delete it, how to do it? Is that right if i right click the map drive and click the disconnect?

View 3 Replies View Related

C Drive Not Big Enough

Oct 26, 2006

I am installing the X86 Executable version of SQL Server. I copied it to my desktop and clicked RUN. It extracts the files and then the Install Wizard tells me there is not enough space on the C Drive to load the program. I have 23 gigabits of free space and the program only takes about 900 megabits.

Is there a solution to this problem?

Thanks,

Modez

View 2 Replies View Related

Possible To Store DB On Another Drive?

Jun 19, 2002

I'm running out of space on my C. Is it possible to store additional DBs on another drive or do I need to load SQL server onto the new drive?

View 6 Replies View Related

Drive Configs...

Jun 6, 2001

Would this be ok for a SQL Server?

Here's what we are thinking about doing:
3x18 GB RAID 5 for OS/apps/database/data.
2x9 GB mirrored for the log files.

(we normally don't have apps on the server besides SQL itself)

Thanks!

View 2 Replies View Related

Moving .LDF Onto The Different Drive

Aug 7, 2000

Hi
I have a database(CEB) and my CEB.mdf is on D Drive and CEB.LDF is on
G DRIVE ...NOw I want to move the CEB.LDF on to the different drive ..
can any one suggest me the way and will I have any effect on the database.
It is kind of urgent.

Thanks
RAGHU

View 1 Replies View Related

How To Move DBs To New Drive?

Aug 15, 2000

How do I move all the databases to a new drive in the same machine?What effects/problems will be?
Thanks!

View 7 Replies View Related

Shared Drive

May 11, 2000

Hi,

I have a shared drive mapped to the h: drive letter on my sql server and I want to create new databases on that drive. Is this at all
possible?
I try it and I couldn't see h: even if I typed it in.

Thanks

View 2 Replies View Related

What Should I Do If The Log Drive Becomes Defective?

Feb 4, 2001

Hi,

What problems will I get if the hard drive for the transaction logs becomes defective? Will this affect transactions and/or backup? What should I do to fix this problem?

View 1 Replies View Related

Quorum Drive

Sep 28, 2005

In reading material on the quorum drive on a sql server cluster in mentions this is the drive the logs are written to. Is this referring to sql log files that are dumped by a process or scheduled job, or some other log files?

View 1 Replies View Related

Can You Specify A Drive For Storage?

Jun 7, 2004

I have an MSDE installation on Windows server 2003. It looks like the C: drive is taking the brunt of the data when I load up the database. I would like to specify a different drive for data...Is there a way to do this?

View 1 Replies View Related

Net Use CMD. How To Map Drive W/SQLExpress

Apr 23, 2008

I know this isn't exactly SQL help, but I alwasy get great help here and thought someone might know why I'm having problems. I'm trying to map to a drive where I have a SQLExpress database on another computer within a workgroup. This is the cmd line I'm using...

NET USE * \XPPRO1SQLExpress /USER:Admin /SAVECRED /PERSISTENT: YES

I'm thinking the problem is with the * (which names the new drive with the next available letter), or that I have to use a password. Everything I've found says nothing about specifying a password though.

The error message I get says "A command was used with conflicting switches."

View 1 Replies View Related

Drive Verification

Jun 19, 2008

How is it possible to use sql to verify F: drive is on disk 0 ?
Thanks

View 3 Replies View Related

Defrag The Drive

Apr 17, 2006

Hi

Can I de-frag the Drive in which the Data files & Log Files of the SQl Server Exists ???

Please Advice.


Thanks

View 5 Replies View Related

Moving To Another Drive

Mar 19, 2007

Hello All,

Can anyone be so kind as to turn me on to a script to move a database from spilt drives C: and D: to just drive D:. (we have one of those Dell's that comes with C/D partitions so we split the .dta files with a limit on the primary file, but the damn C: drive still ran low on disk space and now we can't install Win 2003 SP2 on it!)

thanks in advance
Bill

View 1 Replies View Related

Changing Drive

Dec 5, 2007

Hi guys. I'm new to MySQL..

I've just installed MySQL on drive C: of the server, but now i need to change it from drive C: to drive D:. Is there anyway of doing this?

View 2 Replies View Related

Use Of Memory Drive?

Jan 10, 2007

Has anyone here ever used a memory drive in conjunction with SQL Server? If so, how and did it help performance?




Dave

View 3 Replies View Related

SQL Install - C: Drive

Aug 7, 2007

We are currently having a "lively" discussion between our DBAs and Server Builders and I am interested in what others are doing. Our DBAs want to take the default SQL install into the C: drive, making sure that NO logs are written to C:. That way there is no chance for the C: drive to become full, crashing the box. Server guys are insisting that we install to a drive other than C:.

I would appreciate any discussion re: what others consider best practice , industry standard, if such a things esist.

Thanks.

View 2 Replies View Related

Drive Allocation

Jun 29, 2007

Any comments, please. I have a new server 5x160GB drives. It needs to run IIS for a web app and SQL Server 2005. One user database. I was thinking of dividing space as follows and wanted to get some thoughts from others.

2 drives = RAID 1 set, 160GB space, OS, IIS, SQL exe, tempDB, user database log file



3 drives = RAID 5 set, 320GB space, SQL data files, user database files



Thanks for looking...

View 5 Replies View Related

Moving Db's From One Drive To Another...

Feb 22, 2008

I currently have about 4 databases on our SAN located in one of the drives. These databases are going to expand massively and I want o seperate 1 onto seperate drives located on the SAN. I figured using SQL Server Management Studio I could complete this with an easy "Detach / Attach" operation. When I go to attach the files back into SQL, it doesn't read any other drive other than the current drive all of the databases are located on.

Is there a way to do this?

View 2 Replies View Related

Install On D Drive

Mar 19, 2007

Is there a way to install SQL 2005 Express on a different drive? The server that I want to use has 700MB availible on the C drive and 80 GB availible on the D drive. can I install SQL and all tools on the D drive?

View 3 Replies View Related

MSDE: Can I Install Onto My D: Drive?

Oct 7, 2004

When I ran the install for MSDE, it installed the DB server and the databases onto my C: drive and under program files...

The instructions I followed were listed here:

http://www.asp.net/msde/default.aspx?tabindex=0&tabid=1

I'd like to be able to install it to my D: drive. I've looked through all of the docs but I can't find any information on how to change the install path. Would anyone know how to do this?



Thanks,

LD.....

View 2 Replies View Related

Why The Upgraded Files On Drive C Instead Of D

Mar 1, 2002

I just upgraded SQL6.5 standard(Installed 7.0 and ran Wizard to upgrade dbs) to SQL7.0 by running the exe file.

It turned out that the MSSQL7 folder is follen on Drive C instead of Drive D which is what I wanted. When I was running the upgrade exe file, there was no prompt to ask me the right path.

How could I have the MSSQL7 folder installed on D drive?

Thank you for help

View 1 Replies View Related

Move Sql Server From One Drive To Another

May 14, 2001

I need to move Sql of the C drive on a server to another drive. Any Ideas.

Thanks Brett

View 1 Replies View Related







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