all groups > sqlserver server > september 2006
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Maintenance Wizard
Posted by S at 9/30/2006 7:04:44 PM
Hi
After running maintenance wizard, I getting a backup file that is the same
size like the DB but with .bak.
Is there a way to compress this file automaticly?
The original size is 11GB after compress the size is 700MB.
Any idea?
Than'x
Shay
... more >>
Developer Edition - XP Home - SSIS Import/Export?
Posted by BradMcA at 9/30/2006 5:42:39 PM
Hi,
I have a PC with XP home installed and want to use SSIS to import text
files to the SQL 2005 at my webhost, can the developer edition of SQL
2005 install SSIS Integration services to do the import?, or will that
checkbox be greyed out when installing?
... more >>
SQL 2005 LazyWriter performance problem
Posted by David Beaver at 9/30/2006 4:32:01 PM
I'm posting this so maybe it will help others.
Our SQL 2005 server, within 18-24 hours after reboot, would start to slow
down. Queries that normally took 1 second would take 3 or 4. Task manager
showed CPU usage at 30% even when no users were active.
On investigation:
- The third and... more >>
Checking to see if SQL Server on machine is up and running
Posted by simon whale at 9/30/2006 3:33:37 PM
Hi All,
i have a doos script that downloads from an ftp site and extracts data from
zip files before running a DTS Package.
my question is; is there a way to check to see if SQL is running and if not
start it?
any help woudl be appreciated
Simon Whale
... more >>
Simple Recovery vs Full Recovery
Posted by Dodo Lurker at 9/30/2006 2:30:32 PM
I know the difference between the two.
If I take production database that's in Full Recovery and move it to a test
server, would changing
the recovery model to Simple affect any performance tests I run? The ldf
file will be on a separate disk from the mdf file.
... more >>
Cannot create index, timeout expires (SQL Server Express 2005)
Posted by sdragolov NO[at]SPAM gmail.com at 9/30/2006 11:05:54 AM
I am having trouble creating a primary key on a large table (6 mil
rows)... on a SQL Server Express 2005 database...
After I make the changes to the table and Save, the operation starts
but times out after about 30 seconds, saying that the timeout has
expired.
I tried looking for a timeout ... more >>
SQLAgent never stop a backup job and consume CPU (SQL2000)
Posted by Jeje at 9/30/2006 9:43:21 AM
Hi,
on an SQL 2000 server I'm using the maintenance plan to manage my backups
etc...
in the last year, no problem.
but in the last weeks I see that the job never ends!!!!
the SQL Agent consume 38% of my CPU and the never stops.
the backup is done correctly, the files are created normall... more >>
Questions about transaction log
Posted by Antony at 9/30/2006 8:19:01 AM
The company I am working with use Small Bussiness Server 2003. I think it
came with SQL 2000. We got a large transaction log file. It is 15G last week
and the database file is about 5G. I did try BACKUP DATABASE, BACKUP LOG,
SHRINKFILE(<logfile>,0), SHRINKDATABASE, SHRINKFILE(<logfile>, 0,
t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
run sql script on sql server2000
Posted by santosh at 9/30/2006 2:10:42 AM
dear all i am using ASP.net ,c# and SQL server 2000. i have create all
table, stored procedure .views in my application which is running well
in localhost but now i want to deploy it on server. for that pupose i
need to create all table, stored procedure, views on the domain server
dat... more >>
Need help getting this .sql file into my SQL Server
Posted by MattD at 9/30/2006 12:35:38 AM
I was working originally with what turned out to be a very unreliable
Offshore IT firm in India. I had to finally sever our working
relationship with them. They were about 70% complete even though they
demanded 100% payment upfront. WON'T EVER DO THAT AGAIN!
My problem is they site me all the ... more >>
Free space in a filegroup.
Posted by Sezgin Rafet at 9/30/2006 12:00:00 AM
Hi everyone,
I need to write a SP to check the available free space in a certain database
filegroup(SQL Server 2000 database).
Any help will be appreciated.
Best Regards,
... more >>
DTS Help
Posted by timber at 9/29/2006 11:59:05 PM
Hello Everyone,
Im a bit stumped in doing DTS. I really have basic knowledge on it.
anyway, here's my issue.
Im trying to import data and my source is a text (.txt) file. The
information in the text file was cut and pasted from Excel. This is
what I a normally used of doing.
Anyway, so I... more >>
Select Into V/s bcp and bulk insert
Posted by Rishi at 9/29/2006 11:38:17 PM
Which is a better option to transfer data between two sql servers:
1. Over a linked server:
SELECT * INTO <table name> FROM <server.database.dbo.table>
with (nolock)
2. bcp "SELECT * FROM <database.dbo.table>" queryout "temp.txt" -N -k
-E -U <username> -P <password> -S <server>
BUL... more >>
Check version of SQL 2000 w/ select @@version
Posted by frizzzdog at 9/29/2006 8:47:53 PM
Can anybody tell me when i complete the sp4 upgrade to my sql server
2000 why when I type "select @@version" under sql query analyzer it
doesn't releft latest upgrade to sevice pack 4?
ie. it still shows Microsoft SQL Server 2000 - 8.00.194 (Intel X86) Aug
2000 00:57:48
Any reply to help would ... more >>
2000 QA against 2005 Server
Posted by Hassan at 9/29/2006 6:50:03 PM
Can you use the 2000 Query analyser to connect to SQL 2K5 ?
... more >>
VS2005 and Reports for SQL2000
Posted by Jean Paul Mertens at 9/29/2006 5:29:46 PM
Hello,
Is there a way to migrate my Reportserver project for SQL 2000 Report
services developed with VS2003 so that I can use and modify them in VS 2005
or have I realy to install VS 2003 on my new machine?
Greets
Jean Paul
... more >>
Copy database roles between databases sql server 2005
Posted by manganb NO[at]SPAM gmail.com at 9/29/2006 1:47:13 PM
Hi There,
This is vexing to say the least.
Setup:
Single SQL 2005 standard server: 2 databases, with the same table
structure and query structure.
Table Count: 78
Query Count: 3
Database A has 8 customized security roles, with different permissions
across all of the tables.
Da... more >>
unused space
Posted by brogers5884 at 9/29/2006 12:56:01 PM
When we run the "EXEC SP_SPACEUSED" command it is reporting 22GB of unused
space yet every day that unused space grows by about 1GB. The data size and
index is only roughly 11GB. So my question is why is there so much unused
space and it why is continually growing and what we can we do to pr... more >>
Database loading..
Posted by Lina at 9/29/2006 12:26:02 PM
Hello,
We did a restore of a database to a test database, however after the restore
the database is still showing as loading. I was not present during the
restore but it looks like the norecovery option was not used. We tried the
database restore dbname recovery option but that did not wor... more >>
Linked server (DB2)
Posted by Mike at 9/29/2006 11:21:02 AM
Hello,
I'm trying to create a linked server for the last week and it's still
not working. I'm using "Microsoft OLE DB Provider for DB2". Here is the
error that i have:
Msg 64, Level 20, State 0, Line 0
A transport-level error has occurred when receiving results from the
server. (provider: ... more >>
Error doing manual backup
Posted by ricky252525 at 9/29/2006 9:38:02 AM
I'm sitting at the server itself (SQL 2005 Standard), logged in as admin and
get an error trying to backup to a local drive:
Cannot verify the existence of the backup file location.
I read how this usually refers to backing up to a network share or
something, but this is a local drive. I ... more >>
Get SQL 2005 Server Licence Info
Posted by ShrimpBoy at 9/29/2006 8:16:01 AM
Hi!
I'm looking for a way to retrieve Licence Info from SQL 2005 Server with
VBScript
From a remote location I connect to the server and grab those info with my
administrative rights, but I'm not accessing the DB with a SA account...
With SQL 2000 Server I retrieved those info from re... more >>
Database Tuning Advisor
Posted by Bryan Aldrich at 9/29/2006 8:04:02 AM
I am trying to run through a trace log to improve one of our databases here,
however, the calls originate inside a read only database, goto another
database on the same server before they finally end up in the destination
database that i want to tune.
How can i get the advisor to travel thr... more >>
Number of columns for all tables in a database
Posted by JoelBarish at 9/29/2006 7:13:44 AM
Hi - I apologize in advance for the newbie question...
I have been asked to gather some db statistics. We have 11 dbs and
some have 70 or more tables.
I need to gather is number of fields for each table in the database.
I've used this so far:
SELECT COUNT(*)
FROM INFORMATION_SCHEMA.COLUMN... more >>
The performance of a stored proc turns bad overnight
Posted by Paul T. at 9/29/2006 6:57:27 AM
Hi,
I have a weird issue happening lately on our new SQL Server 2005
standard box. Each night we run a maintenance plan that checks
integrity, rebuilds indexes, updates statistics, cleans up history, and
backs databases up in that order. Then each morning we notice this one
stored procedure t... more >>
Restore SQL Server to default SQL data directory
Posted by Gianluca Dho at 9/29/2006 6:06:50 AM
Hi,
I need to prepare an Installshield project that restore a database on
my target machine.
No problem with script
RESTORE DATABASE BIGStudio FROM DISK=MyDir\MyBackup.bak'
WITH FILE = 1, NOUNLOAD, REPLACE, STATS = 10, MOVE 'DB_dat' TO
'\Data\DB_Data.mdf',
MOVE 'DB__log' TO '\Data... more >>
Will auto updates overwrite a full scan
Posted by Massa Batheli at 9/29/2006 5:46:29 AM
Anyone tested this?
Does auto update stats when it kicks in overwrite a full scan?
A full scan is run every night and update updates/creates are turned
on.
Puzzle
A table has 200000 rows and with auto updates the sample rowcount is
about 50000.
If auto updates kick in will the new sample ... more >>
What is the SQL Server 2005 CTP
Posted by karenmiddleol NO[at]SPAM yahoo.com at 9/29/2006 1:20:47 AM
I have a MSDN SQL Server 2005 Developer edition disk called as SQL
Server 2005 CTP what is this CD ? is it the 2005 beta CD please
confirm. Is it OK to install from this disk.
Thanks
Karen
... more >>
How to copy user in master database to new server?
Posted by Mesak at 9/29/2006 12:32:01 AM
I just install new server for testing only. I have problem about user in
master database. How to copy all user from production server to testing
server?... more >>
Intermittent connection dramas: "Cannot open user default database..."
Posted by Alex Craven at 9/29/2006 12:00:00 AM
Hi,
I've been experiencing some very strange, intermittent failures connecting
to an MS SQL database... basically at seemingly random times the server
decides that it can't open the requested database (reporting error 4062:
"Cannot open user default database. Using master database instead"). I... more >>
lock manager question
Posted by Dodo Lurker at 9/29/2006 12:00:00 AM
i have a query that deletes a large range of rows but the where clause
is not indexes
delete from instructor where lastteachdate < '2005-01-01'
lastteachdate does not have an index and the instructor table has 100,000
records.
sp_lock shows a table lock. I understand why. Since there is... more >>
Any scripts that will create maintenance plans in SQL 2005
Posted by Raji Arulambalam at 9/29/2006 12:00:00 AM
Hi
Using SQL Server 2005 SP1
Are ther any way to create scripts that will recreate the maintenance plans
that are on the server?
We need to rebuild the server with a different collation, so the master,
msdb and model will get recreated.
Also where are the configurations for database ma... more >>
table design
Posted by thomson at 9/28/2006 11:23:16 PM
Hi All,
I have a requirement in which some of the text fields are
customizable by the super admin for eg: Dropdown options, Chek box
options, Can any one tell me how best we can do the table design
Thanks in Advance
Thomson
... more >>
physical disk counters missing
Posted by Hassan at 9/28/2006 11:13:53 PM
So on the source system say ServerA, I can see the physical and logical disk
counters using perfmon
But when i go to another machine say ServerB or ServerC and use perfmon to
connect to ServerA, I cannot see the counters from there.
I am using Windows 2000 Advanced Server with SQL 2000. It... more >>
Using CL command in SQL 2000
Posted by Sphenix at 9/28/2006 9:00:18 PM
Is it possible to CL command in "Execute SQL Task" by using ODBC
connection
Btw I'm using "SQL 2000/8.0"
(e.g. CL: CPYF FROMFILE(LibraryA/TableA) TOFILE(LibraryB/TableB)
CRTFILE(*YES))
... more >>
Training question-please advise
Posted by Rob at 9/28/2006 7:15:02 PM
Hi,
I am looking to update my SQL 2005 knowledge to be a DBA, does anyone know
any good CD based or online training or any other quick resource. I have
basic SQL admin knowledge of SQL 2000.
thanks-Rob... more >>
Configure performance of SQL Server
Posted by Don at 9/28/2006 6:44:01 PM
Two of my clients have their databases setup on one of my Servers ( SQL
Server 2005). I.e. both Databases are sitting on the one SQL Server.
Queries executed by Client A takes a very long time and hence effects the
performance for the queries performed by Client B (simply becuase Client A is ... more >>
2005 grows
Posted by Microsoft at 9/28/2006 6:30:01 PM
Hi,
I have a server running 2005. I have a SP that dumps data into a table. When
it runs, it adds 100K records (200Mb?) but the database grows to 19GB! but
18.5 is just space. When I shrink the DB I goes back down to 500mb?
If I run the SP again, I get the same problem
Thanks for the help!
... more >>
is this an attack ?
Posted by Mancha at 9/28/2006 6:11:22 PM
Last night we made the backup as usual, in the morning a table is
completely all nulls except for the elements of the key.
We thought there was some error or accident, so we copy that table from
the backup, 30 min later we saw another table with the same problem,
then checking another DB used ... more >>
Excessive SQL Compilations
Posted by Frank Rizzo at 9/28/2006 4:41:13 PM
Hello, my sql server 2000 box is doing excessive compilations. There is
no ad-hoc SQL on the system, just stored procedures. In particular there
is really only 5-6 sprocs that run day and night. Still perfmon reports
something like 30-40 SQL Compilations per second (depending on the day).
... more >>
SQL Server 2005 Query Optimizer
Posted by Lijun Zhang at 9/28/2006 3:40:49 PM
We are planning to upgrade our SQL Server from 2000 to 2005. We have just
started testing the performance on 2005 and found that 2005 query optimizer
choose wrong query plan over several queries so far. We can force the query
to use the right plan. But what worried me is the query is so simple an... more >>
Change Owner in Database Maintenance Plan
Posted by Joe K. at 9/28/2006 2:38:02 PM
Who do you change the database owner in Database Maintenance Plan that was
created with SQL Server 2005?
Thank You,... more >>
Why the client cannot see the new columns?
Posted by bing at 9/28/2006 2:37:02 PM
Hi,
Per a request from a client, I added a few new columns to one of their
tables. In both the table and column permissions, I don't see these new
columns have any different permissions than other existing columns. But the
client said he was not able to see the new columns even after he ... more >>
Database being set to SIMPLE Recovery (no MSDB)
Posted by info NO[at]SPAM fdaregulatory.com at 9/28/2006 2:04:09 PM
My production seems to, either upon admin rebooting it for updates, or
for someother reason set the Recovermy Mode FROM Full TO Simple???
Weird. How can I track down what is doing this? its SQL 2000 SP4.
Thanks
Erik
... more >>
Null values not returns when "Not in List" used on column
Posted by Paul at 9/28/2006 1:58:32 PM
Greetings,
I am running MS SQL 2000 here. We've just found that queries with "not
in list" where clauses do not return the rows that have NULL values in
the column that the "not in list" clause pertains to.
For instance, let's say the column is Auto.makers. The column has the
values of Fo... more >>
Performance Degrading - Help
Posted by magkip NO[at]SPAM hotmail.com at 9/28/2006 1:53:00 PM
I have a SQL Server 2005 database that has been having problems since
monday. There have been no database changes for about a month, so
this strange behavior is recent. Unfortunately, our Test box is not a
good mirror of production, so tests to narrow down this problem are
tough to perform.
... more >>
Best Practice Database Owner 'sa' SQL Server 2005
Posted by Joe P. at 9/28/2006 1:21:03 PM
I known in SQL Server 2000 it's MS best practice to create database owner as
'sa'.
Is this still the case using SQL Server 2005?
... more >>
SQL 2000
Posted by Rod at 9/28/2006 1:05:02 PM
I have a database on SQL 2000 that is causing me problems.. I have it setup
to do a full backup at 5am then incrementals every hour after. I can restore
the database to a certain point where it is functional again. However i am
wondering, is there a way to open a .TRN file so i can inspect i... more >>
Unable to SQL Server 2005 Job
Posted by Joe K. at 9/28/2006 12:55:02 PM
I am trying to delete a SQL Server 2005 maintenance job that I created
several days ago. I received the following error when trying to delete the
job.
Please help me resolve this error message.
Thank You,
Error Message: Drop failed for 'Maintenance Plan'
An exception occurred whil... more >>
user activity
Posted by Carly at 9/28/2006 12:51:58 PM
Hi everyone,
Is there any way I can create a stored procedure/function that will
show the number of hours the sql 2005 server users have been logged in?
Thanks,
Carly
... more >>
|