all groups > sqlserver server > may 2007
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 31
MS SQL Server 2005 hang
Posted by prudon NO[at]SPAM inbox.ru at 5/31/2007 11:58:44 PM
Hi All,
We get very strange hang situation at our customers from time to time.
I execute very simple query like
insert into <table1>
select <columns> from <table2>
where <conditions>
Table <table1> has clustered index on float column.
Normally this query is executing, say, 2 minutes. ... more >>
xp_cmdshell - Alternative ???
Posted by I.W Coetzer at 5/31/2007 11:38:01 PM
Hi (We are using Sql 2005)
I'm using the master.dbo.xp_cmdshell stored procedure to move files from one
folder to another as part of a backup maintenance place.
We have to move the existing files to another folder and the files in that
folder to another folder prior to archiving.
Question... more >>
Secuirty
Posted by omranu NO[at]SPAM Gmail.com at 5/31/2007 7:30:27 PM
I am looking to create a forum for our users to fill in order to get access
to sensitive data on our SQL Servers.
Does anyone know if there is anything out there that I can start with? Any
help is greatly appreciated.
Thanks in advance!
... more >>
Urgent!! - when table size is too huge, what should do?
Posted by danceli NO[at]SPAM gmail.com at 5/31/2007 7:20:02 PM
one table is growing too huge in production server (sql server). It
will threaten our server, and becomes the bigger problem needed to be
solved. Could anybody tell me normally for big size table, what and
how should you normally do on it?
thanks a lot!
... more >>
Simple math
Posted by Ana at 5/31/2007 7:02:45 PM
Hi,
In a table I have tblID, customerID, test_results.
Summing the content of test_results, gives 89. Counting the results for a
giving customer gives 24. To calculate the average test results is done
simply by 89/24 = 3.71.
However:
Sum(test_results) / Count(test_results) gives 3.
... more >>
URGENT!! - table size is too huge, what should dba do on it?
Posted by danceli NO[at]SPAM gmail.com at 5/31/2007 7:00:45 PM
Dear all,
I really need you help on this.
One table is growing too huge (millions) on our production sql server.
It becomes an urgent issue to our company, and my manager asked me to
solve this problem. Could you give me any suggestion? what and how
should i do? For big tabke size, normally... more >>
Best way for generating a Sequenzenumber
Posted by Michel at 5/31/2007 5:38:25 PM
Hi
I'm interested to know what the besrt way would be to create a sequenze
number.
How can I prevent that a number will be created twice? What are your
thoughts?
Thank's
Michel
... more >>
Urgent!! - when table size is too huge, what should do?
Posted by danceli NO[at]SPAM gmail.com at 5/31/2007 5:07:35 PM
one table is growing too huge in production server (sql server). It
will threaten our server, and becomes the bigger problem needed to be
solved. Could anybody tell me normally for big size table, what and
how should you normally do on it?
thanks a lot!
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Openquery - Error DateTime Literal (OLE/DB provider returned messa
Posted by Joe K. at 5/31/2007 3:47:00 PM
I have a SQL Server linked server setup on a SQL Server 2000 Standard
Edition.
When I run the query listed below with literals I received the error listed
below.
If I run the same without literals listed below I received 0 output rows.
I know this query should output approximatel... more >>
Using SQLLiteSpped with SQL2005
Posted by Chris Wood at 5/31/2007 3:11:25 PM
Hi,
We will be trying a trial of Quest's LiteSpeed on one of our SQL2005 servers
soon. Is this a good package that does what it says it will do in terms of
compression and speed? Is it easily configurable? Any comments are very
welcome.
Thanks
Chris
... more >>
Determine a date not in the table
Posted by FurRelKT at 5/31/2007 1:31:01 PM
Hello, this might be a stupid question, but how would i go about
getting the dates that are NOT in the table.
For instance:
Table contains these dates: like a calendar with sat and sun missing,
but also some of the dates are weekdays too. I need to find out which
date(s) are missing from the li... more >>
Why is job history insert blocking?
Posted by Chris at 5/31/2007 1:28:03 PM
SQL2005 EE
I am seeing the following block excessively throughout day. Any ideas why?
what can i do? tia Chris
EXECUTE msdb.dbo.sp_sqlagent_log_jobhistory @job_id =
0x1B5CB78EFCD08241B30869DAF75B9723
, @step_id = 1, @sql_message_id = 0, @sql_severity = 0, @run_status = 1
, @run_date =... more >>
TempDB showing allocation errors - Any ideas?
Posted by Puzzled DBA. at 5/31/2007 12:35:02 PM
Hi:
After a disk failure in the RAID was fixed (disk replaced and resych
completed), a DBCC CheckDB shows the following allocation errors but only on
the TempDB. I restarted the Services, got a new fresh tempdb with no errors
when checkDB'ed but as soon as users get on-line and the databas... more >>
Performance, consolidation and security questions.
Posted by Tim Greenwood at 5/31/2007 9:32:28 AM
I know that even amongst the guru's here we sometimes get differing
opinions....I'm curious about a couple of issues very important to me right
now.
1. I've asked about performance related issues that might arise from
queries that execute across databases in the same sql instance. For the... more >>
performance bottleneck
Posted by at 5/31/2007 9:30:34 AM
I am looking at the performance of one of our production servers and have
done Perfmon. I am seeing a definite bottleneck on the following drives
I, L, H and J
What do you thing and is there anything else I am missing here.
Thanks for your help.
PhysicalDisk
E
T
... more >>
turning identity insert on before insert
Posted by PGP at 5/31/2007 9:19:24 AM
I have a table with identity inserts off. Depending on incoming id values, i
need to bypass this and allow the incoming values to be inserted. Is it
possible to do this using triggers?
I tried to create an INSTEAD OF INSERT trigger on the table, did a SET
IDENTITY_INSERT ON statement there ... more >>
SQL2000 Log Shipping: Shipped Logs Not Cleaned Up
Posted by Daniel Jameson at 5/31/2007 9:18:27 AM
Hi,
We do SQL 2000 Log Shipping of about 15 databases from two local servers to
our remote disaster recovery site. In general, it works just fine. But, I
have one database for which the shipped transaction log files never get
deleted, and they just keep building up until I manually delete... more >>
Estimate storage saving of varDecimal
Posted by Robin9876 at 5/31/2007 7:52:59 AM
For an existing database is there an automated method of calculating
the storage saving of using varDecimal storage type?
... more >>
Performance in big UNION
Posted by Ariel at 5/31/2007 7:52:03 AM
Before migrating an application to SQL2005, I am checking the performance of
it and comparing it with the performance in SQL 2000. I have found a big
query that has 1000 selects of constant values joined by union all; in the
first execution, it takes more than 20 seconds to run but in sql 200... more >>
restore db daily with a job but BAK file is diff
Posted by ashley.sql NO[at]SPAM gmail.com at 5/31/2007 6:23:43 AM
i have to restore database from production bakup to development
everyday, there is a program which does this bakup and names the file
like PROD_20070523.BAK based on the date.
is there any way to run this with SQL agent and make sure everytime
the current file is backed up. can i rename the fi... more >>
Upgrading Windows 2000 Server to 2003 SERVER R2 SP2 with SQL2000 S
Posted by Miguel Nunes at 5/31/2007 4:23:02 AM
Hi, to all
I'm planning to upgrade my Windows 2000 server (No Domain/AD, its just a
stand alone server) to Windows Server 2003 R2 SP2.
I have Microsoft SQL Server 2000 - SP3a running on the server.
Can i make a normal upgrade without losing any configuration, does the SQL
Server 2000 an... more >>
SQL Server 2000 Analysis Server from 2005 Management Studio access
Posted by Tomek at 5/31/2007 12:00:00 AM
Hello
Is it possible to connect to SQL Server 2000 Analysis Server from SQL Server
2005 Management Studio? Should I use some special settings to SQL Server
2000 Serevr or SQL Server 2005 Client? I`ve tried to connect in the same way
i do it for 2005 Analyzis Server (using Widows Authentication) ... more >>
sql server 2005 agent
Posted by simon whale at 5/31/2007 12:00:00 AM
hi,
when trying to automate a job using the agent in sql server 2005 i am
getting this error
TITLE: Microsoft SQL Server Management Studio
------------------------------
Unable to cast object of type
'Microsoft.SqlServer.Management.Smo.SimpleObjectKey' to type
'Microsoft.SqlServer.Ma... more >>
RE: Database Mail fails to email Operator
Posted by JN at 5/30/2007 11:27:41 PM
Sqlserver 2005 SP2
Hi All,
Upon completion of a job, an email should be sent to an operator but instead
it return the following error:
Message
The job succeeded. The Job was invoked by User. The last step to run was
step 1 (Daily Backup). NOTE: Failed to notify 'John' via email.
... more >>
SQL2000 script fails on SQL2005
Posted by Claus at 5/30/2007 11:19:40 PM
Hi all,
I wonder if someone could explain to me why the script below runs fine
against an SQL2000 server but fails against an SQL2005 server with:
invalid object name 'People'. .
The connection to the database works fine. If I supply the wrong password I
get a login error message.
Here i... more >>
SQL Server services
Posted by omranu NO[at]SPAM Gmail.com at 5/30/2007 8:45:46 PM
looking for a script to run so that it will stop all SQL server services and
start them later .
I need to do system backup and need to capture every thing and then start
SQL server services.
Any help
Thanks,
... more >>
SQL Server error '80040e31': please help me!
Posted by Tonio Tanzi at 5/30/2007 8:20:27 PM
I have the following problem in a Win 2000 Server + SQL Server 2000
environment and I hope somewhat can help me to resolve it (after many
days of useless attempts I am desperate).
In my database I have two table:
- master(id, field1, field2, ...)
- detail(id0, id, progr, data, sede, esecuto... more >>
have SQL Server Mgmt Studio save alter table script when change table?
Posted by Les Caudle at 5/30/2007 5:08:38 PM
Is there a way to have SQL Server Management Studio save the script for
everything necessary to alter a table when changing the design of a table?
The older Visual Studio interfaces would allow this - maybe I can discover where
to turn that on in Visual Studio 2005?
--
Thanks in advance, Les ... more >>
Can somebody find where it fails, please?
Posted by Dave at 5/30/2007 5:03:03 PM
Microsoft (R) SQLMaint Utility (Unicode), Version Logged on to SQL Server
'PAC_APPS2' as 'PAC01\Administrator' (trusted)
Starting maintenance plan 'DB Maintenance Plan_weekly' on 5/27/2007 2:00:01 AM
[1] Database IER: Database Backup...
Destination:
[E:\MSSQLSERVER\DATA\MSSQL\BACKUP\IER... more >>
vbscript
Posted by Paul Bergson [MVP-DS] at 5/30/2007 3:49:08 PM
Could someone point me to a website for examples of vbscripting to a
sqlserver 2005 db?
I need to truncate a SQL Server 2005 table from a remote server and I just
don't want to put any more effort into this than I have to. Microsoft's
script repository isn't of much help.
I have a piece... more >>
Copying Indexes from one table to another table programatically
Posted by Sal at 5/30/2007 2:27:02 PM
Programatically in a stored proc, Is there anyway to copy/create all indexes
from one table to another table provided both tables have same column
deifinition? Please let me know.... more >>
why 1204 locks error ?
Posted by Jeff at 5/30/2007 1:27:11 PM
I've been running a SQL script for years, now it keeps erroring with a
1204 lock. The quantity of data hasn't changed. I'm running SQL Server
2000 SP4 8.00.2039. on a Windows 2000 Server with 2 gb RAM and of my 100
gb drive I have 40 gb free.
The # of locks was set at 10,000 and I upped it ... more >>
SQL 2005 Cluster and SP2
Posted by Rick at 5/30/2007 12:46:07 PM
I have a A/A/A/P Sql cluster with one default and 2 named instances. I
installed SP2 on the default instance, when I go to install on one of
the named instances is says it cannot install and stops(does not say
much at all). what can i look at to see why it will not install?
thanks
Rick.
... more >>
Problem on Connecting to SQL Server on Network thru ODBC DSN
Posted by sammydotcom at 5/30/2007 12:14:01 PM
am using Sql Server 7 as my database and it resides on a server ruinning on
Windows XP.
I have used the ODBC DSN for sql server and it worked on stand alone
perfectly but
when i tried to reconfigure the ODBC DNS for other client syustems to
connect to the SERVer it is giving me this error
... more >>
Some indexes fragmenting much faster than others
Posted by sqlboy2000 NO[at]SPAM gmail.com at 5/30/2007 10:54:14 AM
All,
I'm trying to understand some index fragmentation I'm seeing in SQL
2005. (I'm using the dm_db_index_physical_stats view for fragmentation
information). There are about 5 indexes on a table that has INSERT and
SELECT activity only, there are no updates once a record is written.
It's somewh... more >>
import large table from mysql
Posted by dylan at 5/30/2007 9:59:47 AM
I'm trying to migrate a mysql database to sql server 2000 (then I'm
going to upgrade that to 2005). I downloaded myODBC and was able to
import most of the tables, however when I try to import the largest
table (about 18GB) it fails by running out of memory. The machine I'm
using has 4 gigs of ... more >>
Profiler Question
Posted by AF at 5/30/2007 8:05:33 AM
Is it possible to have a pre-built trace run daily for example at a
certain time for an hour. Save the results to a new table in a
database after each run?
... more >>
Update Problem of Microsoft SQL Server 2005
Posted by tazhy7 at 5/30/2007 8:01:03 AM
Problem of update Microsoft SQL Server 2005 Express Edition Service Pack 2
(KB 921896), tried many times still can't update this...
Is this necessary to update this ...
who can solve this update failure problem to me ..... more >>
Could database mirroring make an application fail?
Posted by Ola Hallengren at 5/30/2007 7:42:05 AM
Hello!
We have a Java application where some things are indicating that it can not
run against a SQL Server 2005 database when database mirroring is enabled.
We're getting an error message in the application.
SQLState:HY000 ErrorCode:0 [DataDirect][SQLServer JDBC
Driver][DataDirect][SQL... more >>
lsb
Posted by stoney at 5/30/2007 7:14:00 AM
Hi,
Someone send me a SQL db which they said they compressed. The guy who sent
it to me is on vaction. It is compressed with .lsb compression. Does anyone
know how the heck I get it unzipped?
thx... more >>
RFI: how to troubleshoot stack dumps
Posted by mikron2 at 5/30/2007 6:20:02 AM
Does anyone know of any general KB articles or other resources I can check to
troubleshoot stack dump?
Thanks,
Mike - mstuart_at_gates_dot_com... more >>
Copy DB Role to new DB?
Posted by gstar at 5/30/2007 4:18:02 AM
Hi,
We have 8 SQL2000 databases running in a live enviroment with 2
developers needing write/read/create access.
Inside one of the DBs I have created a new DB Role called db_nodelete
and revoked delete access which works fine for the dev team. To do
this across all 8 DBs and tables will take ... more >>
Dev Sql Server Edition same thru project lifecyle ?
Posted by Bil at 5/30/2007 2:36:02 AM
Hi
Could someone tell me whether I need to use the same edition of Sql Server
in Dev, UAT & Prod. I need Enterprise Edition in PROD but wonder if I need to
develop and then test it in UAT on Enterprise Edition and thereby
consequently buy 3 Enterprise Edition licenses.
--
Cheers
Bil... more >>
Saving a view with a table in a linked database
Posted by amac via SQLMonster.com at 5/30/2007 12:00:00 AM
I created a view with a join between a table in the master-database & a table
in a linked database. When I run this view, there is no problem at all. When
I try to save this view. The system is hanging. When I stop the process and
look in the current activities there is a locking process caused b... more >>
Cannot connect in Single-user mode
Posted by MICS at 5/29/2007 6:04:01 PM
Good day.
I am using sql 7 right now and i think there might some problem in
connecting in single-user mode.The situation is like this i need to connect
my database in single-user mode for me to issue a dbcc checkdb repair_rebuild
command.So in command prompt i issue a sqlservr -m after stop... more >>
SQL Server 2000 DB_link Error
Posted by Joe K. at 5/29/2007 5:46:08 PM
I have SQL Server 2000 link server set up on the nm_lights server. I am
only able to list out the system tables from the linked server.
When I run a query from this server to the linked server (nm_lights) I
received the error listed below.
Please help me resolve the error listed below ... more >>
HP Blades or Racks
Posted by Hassan at 5/29/2007 5:10:13 PM
Anyone using HP Blades for their SQL servers ? Any cons that I need to be
aware of ?
Thanks
... more >>
SSMS opens then closes immediately
Posted by Nancy Lytle at 5/29/2007 4:09:03 PM
I had SS 2005 standard installed on my laptop ( my only computer at home),
then tried to install the Developer Edition of SS 2005, I wasn't paying
attention and should have known it would not install properly, as I have
Windows XP Media Center Edition (I used to have XP Pro which had no proble... more >>
windows command help
Posted by Ramu at 5/29/2007 1:16:02 PM
How to copy the .bak file from another computer(which is on differnt domain)
to local computer using windows commands. I would like to do that file copy
using command prompt.
Here is what I wanted to do:
1) logon to different computer(in different domain)
2) copy the file to local comput... more >>
XP_SENDMAIL -- ' Procedure expects parameter @user, which was not
Posted by Russ at 5/29/2007 11:37:01 AM
Hi.
I'm trying to use xp_sendmail with SQL2005 in 9.0 mode.
I know i should be moving foward with dbmail but I can't right now.
I have set it up correctly - the mapi profile test from sqlagent works
I have allowed use of xp_sendmail in surface area configuration.
but...
when i run 'xp_sendmai... more >>
|