Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


Archived Months
March 2003
April 2003
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007


all groups > sqlserver server > august 2006 > threads for monday august 28

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

Diap-up Connection Problem
Posted by Leila at 8/28/2006 11:19:01 PM
Hi, I want to replicate data between two SQL Servers but I have connection problem: Server A: Win 2003 SP1, SQL Server 2000 Enterprise Edition SP3 Server B: Win XP SP2, SQL Server 2000 Personal Edition SP3 Server A dials to server B. Server A can ping server B (using IP) and I registered...more >>

SQL 2005: XML Datatype
Posted by Hari Prasad at 8/28/2006 8:41:54 PM
Hello, I have SQL 2005 enterprise edition VLDB. During peak I am expecting nearly 20000 concurrent users accessing the databases. For storing the clients information I am planning to use a XML datatype. Since most of the data is mandatory I am planning to go for Typed XML (Schema pre defi...more >>

SQL server backup
Posted by cptkirkh at 8/28/2006 6:54:13 PM
When I go to setup a backup job for my SQL Server 2005 I get the following error when I Choose Script Action to Job. Unable to to Script Action to SQL server agent Job. Addtional information Cannot show requested dialog (SqlMgmt) SQL agent i...more >>

Tracking Access to a View in SQL 2000
Posted by Joshua Andrews at 8/28/2006 5:40:31 PM
Does anyone know an easy way to track if a view is being used? I am trying to see what objects, queries from linked servers, SQL jobs, interfaces, DTS jobs, and any other things might be touching a view. I've already consulted sysdepends, but it can only tell me about what's already in the ...more >>

after create database, parser cannot filnd new database for 'use'
Posted by Bryan at 8/28/2006 4:19:45 PM
Hello, I have a script that creates a new database table called MYDATABAE, then it will use USE [MYDATABASE] to create tables. Well.. It doesn't even get past the parser. It stops saying: Could not locate entry in sysdatabases for database 'MYDATABASE' Below you will see some of the sc...more >>

enterprise manager loading DB
Posted by Björn at 8/28/2006 3:48:47 PM
Hello I have a problem with a loading DB in Enterprise Manager. I had restored a DB from another Sql Server and something seems wrong. I´ve got no error message but I have a grey DB Icon with my DB Name and a loading behind the name. I can´t delete the DB with Enterprise manager, can´t open t...more >>

Wait_Time
Posted by cbrichards via SQLMonster.com at 8/28/2006 3:31:32 PM
I am trying to understand the Wait_Time column in sys.dm_exec_requests. BOL says concerning Wait_Time: "If the request is currently blocked, this column returns the duration in milliseconds, of the current wait." In executing sys.dm_exec_requests, all my blocking_session_id's are zero, yet s...more >>

Table.IndexSpaceUsed vs. Index.SpaceUsed
Posted by Harlan Messinger at 8/28/2006 2:51:16 PM
I'm using DMO in VB6 (because I haven't replaced VS 2003 with VS 2005 yet so I can't use SMO) to find out how much space is taken up by the indexes. My code looks like this: Dim total As Long total = 0 Dim database As SQLDMO.database Set database = server.Databases("mydata") Dim table...more >>



Fastest way to locate overlapping time blocks
Posted by Frank Rizzo at 8/28/2006 1:57:59 PM
Hello, I am searching for an absolutely fastest SQL to locate overlapping time blocks. I've tried various things, but i am a c# guy, and sql is not my strongest suit. create table TimeBlocks ( TimeBlockStartsAt datetime TimeBlockEndsAt datetime ) I want to find a condition where one...more >>

SQL 2000 Configuration
Posted by Ryan at 8/28/2006 11:53:02 AM
I've currently come into an environment where the company is running SQL 2000 as the database for their primary business application. From a novice stand point the server seems to be improperly configured in a number of ways. The biggest red flag is the hardware setup, which consists of everyt...more >>

I'm losing my tildes over here!
Posted by Mike C# at 8/28/2006 11:36:19 AM
Hi all, Looks like I inherited a little collation problem, and it's causing me headaches. This is a little involved, so please bear with me: Most of the CHAR and VARCHAR columns in the tables of this database are set to SQL_Latin1_General_CP1_CI_AS collation. A few are set to SQL_Latin...more >>

SQL Server 2k5 compatibility level
Posted by Jmiles540 NO[at]SPAM gmail.com at 8/28/2006 11:28:52 AM
I just installed the 180 day trial, but when I tried to create a new database I don't have the option to chnage the compatibility level to 90. My only two options are 70 and 80. Whatr did I do wrong? ANd how do I fix it? Do I have to uninstall and reinstall? thanks, Justin Miles ...more >>

Bug in 2005?
Posted by shub at 8/28/2006 11:27:11 AM
This code snippet works fine in 2000 but not in 2005. Is this a bug? I get a conversion error on the 2005 server. Any ideas? Create table Sample (DESCR Char(30), Ref Char(50), Name Char(30)) Insert into sample values ('Valid Row','03/25/2006 02:30:15 PM','Joe') Insert into sample v...more >>

rerun subscriptions
Posted by Ben Watts at 8/28/2006 10:51:36 AM
Is there any way to rerun all of the subscriptions at once after they have been run for the day. I had about 35 subscriptions that were set to run and 8 AM. We had a burp and they failed. I dont want to wai till tomorrow for them to try again. And would really rather not run them ind...more >>

iSCSI Performance on Database
Posted by MLSEL at 8/28/2006 10:46:02 AM
I was just wondering what performance issue will be if you implement iSCSI based SAN Storage for a transactional as well as operational SQL Server 2000/2005 databases. Does the SAN be a dedicated storage per application database or can databases share a SAN and how much do you think disk I/O...more >>

Why I cannot see mapped network drive on SQL 2005?
Posted by Zrich at 8/28/2006 10:35:01 AM
SQL Server: 2005 OS: WIn2003 Mapped network drive: Z:\ with Full Control permission When I go to SQL 2005 and backup database, I cannot drive Z:\ Do I need to do anything in OS? Thanks Zrich ...more >>

Regarding Sql Server 2k SP4 and hotfix 2187
Posted by chinn at 8/28/2006 10:27:02 AM
Hello, I just installed SP4 with 2187 on one of our machine does anybody if i am covered with the AWE problem which was with the base(without any hotfixes) install of SP4 . I just wanted to make sure if i need to still install that fix or not after installing 2187. Thanks in advance, ...more >>

Dropping unused (empty) tables
Posted by thomasnorlund NO[at]SPAM gmx.de at 8/28/2006 9:48:26 AM
Hi everybody, I currently have a database with 700+ tables, most of them not in use (not containing any data at all). The database is going to be migrated for use with another application, but first I want to kick out all the empty tables (and maybe also all unused columns in the rest of the ...more >>

SQL Server 2000 Maintenance Optimization Job Aborted
Posted by Joe K. at 8/28/2006 9:33:02 AM
I have a SQL Server 2000 database that is approximately 30 GB in size. I set up the SQL Server maintenance plan with the SQL Server Enterprise Manager. I created the Optimization job and only selected the 'Reorganize data and index page' and 'Change free space per page percentage to 10%' ...more >>

SQL Server 2005 Update in Suspended Status
Posted by Joe at 8/28/2006 9:25:01 AM
Hi, I'm a developer who knows little about SQL Server (but I want to learn). I have an update script which has been running for about 5 hours. I checked the process using sp_who2 and it said the update is in 'Suspended' status. Is there anything that I can do to get the process running again ...more >>

Creating Dynamic Database using Script
Posted by SQL Server Group 1 at 8/28/2006 9:05:09 AM
I am looking for a way to dynamically create a database in SQL Server 2000 using a stored procedure that will create a dynamically named new database using the script from another database. More specifically, I would like to call a stored procedure that will pass in a new DB name and will take...more >>

SQL Server 2005 Maintenance plan delete old backups
Posted by Ryan at 8/28/2006 9:03:03 AM
I have a database plan that performs the following actions: 1) Backs up user databases 2) Backs up system databases 3) Cleans up .bak files older than 1 day 4) Cleans up .trn files older than 1 day The backups are being stored in subfolders and for the cleanup actions I have "Include First ...more >>

DB Maintenance Plan - Data Optimization?
Posted by Don Miller at 8/28/2006 8:52:44 AM
When putting together a Maintenance Plan, after selecting the databases, the topic is Data Optimization. Under this topic are options "Reorganize data and index pages" and "Remove unused space from database files". Can both or either of these be performed on a database that should be constantly ...more >>

Merge replication et al - please help a newbie...
Posted by almurph NO[at]SPAM altavista.com at 8/28/2006 8:34:19 AM
Hi, Hope you can help me with this one. Advice greatly appreciated. We have a web application on a server (lets call it server "A"). Its talking to a DB server (lets call it server "B"). We want to backup server "B" so that in the event "B" fallsover - the backup server (lets call it "C") wi...more >>

Merge replication et al - please help a newbie...
Posted by almurph NO[at]SPAM altavista.com at 8/28/2006 8:34:11 AM
Hi, Hope you can help me with this one. Advice greatly appreciated. We have a web application on a server (lets call it server "A"). Its talking to a DB server (lets call it server "B"). We want to backup server "B" so that in the event "B" fallsover - the backup server (lets call it "C") wi...more >>

Query to find invalid objects?
Posted by Susan Cooper at 8/28/2006 8:27:02 AM
Is there a system table that holds data on invalid objects/procedures? In Oracle, I can query dba_objects table where status='INVALID' to find all of the invalid objects. Is there anything similar in SQL Server? thanks! Susan...more >>

Database Mirroring - Multiple databases
Posted by bashir at 8/28/2006 8:24:01 AM
I know database mirroirng is on the database level but is it possible to fail all the databses in the server if one databses fails. If I want to mirror db1 and db2 serverA to db1 and db2 in serverb. If db1 in servera fails I want db2 in servera fails therefore both database will rollover to...more >>

Running Under Compatibility Level 80
Posted by Don at 8/28/2006 8:20:49 AM
Hi There, After we migrate our SQL 2000 databases, the compatibility level is set to "SQL Server 2000(80)" by default. My question are: 1. What are the differences in terms of performance runing databases under comp level 80 and comp level 90 in SQL 2005 ? 2. What do I lose if the databas...more >>

Unable to start JobManager thread for job
Posted by Shawn Loftus at 8/28/2006 7:05:01 AM
I am receiving this error intermittently: [380] Unable to start JobManager thread for job. (Thanks Sue Hoegenmeier for helping me to find the error!) The SQL Agent Jobs run fine as scheduled for several days then this error occurs out of the blue. I found 1 or 2 other strings that mention t...more >>

Insert Statement Fails on Linked servers
Posted by avravinder NO[at]SPAM gmail.com at 8/28/2006 6:53:52 AM
Hi, we have a local server with a database say A on it . we also have a linked server which has a database B. now we are trying to insert into a table in a using data from the database B. both of the tables in both the database are the same in structure . now when i use a query like insert in...more >>

What is the Summary tab good for ?
Posted by Pat at 8/28/2006 6:23:01 AM
It allways show the same list as in the Object Explorer, doesn't it? For instance, you click on a table in Object Explorer, and all you see in the Summary pane is 95% white space and "Columns, Keys, Constraints, ..." in the top left corner. What use is that ?? Am I missing something ? (S...more >>

Dates of a week
Posted by Baren at 8/28/2006 5:40:02 AM
Hi! I have the week number and the year. I want get all the dates that fall in that week. Is anyone who has idea to get this? Baren...more >>

2005 Agent doesn't start automatically on reboot
Posted by PSPDBA at 8/28/2006 5:11:15 AM
We have a Windows Server 2003 SP1, SQL Server 2005 SP1. When the machine is rebooted, the SQL Server agent is not automatically started. It is set to start automatically in the Windows Services dialog. I see a safe shutdown prior to the reboot, but no messages like it's even trying to start u...more >>

Running Transact-SQL script from SQL server agent with a different account
Posted by pedro.f.silva NO[at]SPAM gmail.com at 8/28/2006 4:08:03 AM
Hi, I whised to run a T-SQL script as a SQL server Job that uses a linked server to connect to a remote DB. When I run the stored procedure in Query Analyser (with a specified user) everything works fone but on SQL Agent I have the following error: Access to the remote server is denied bec...more >>

Job Agent Step
Posted by stephanie at 8/28/2006 3:14:02 AM
Hi all, I created a job in SQL Agent with 1 step which includes 2 step, e.g. sp_start_job 'step1' and sp_start_job 'step2'. step1 and step2 are 2 agent jobs. How can I continue the step2 while the 1st sp_start_job 'step1' is failed? Thanks in advance ...more >>

Replication technology question - please help a newbie!
Posted by almurph NO[at]SPAM altavista.com at 8/28/2006 2:56:57 AM
Hi everyone, I have a question about the replication technology on SQL Server 2000. Lets say that we have 2 servers (names A & B foir convenicce). Server "A" is the primary and "B" the backup server. There exists a transactional replication process - a Central Publisher/Distributor Mode...more >>

Owner and permissions
Posted by Earl at 8/28/2006 1:12:35 AM
One thing that seems goofy to me is why an owner of a database has to have explicit permissions set. I guess I don't understand the mindset of the whole security getup in 2005. If I'm the owner of a car, yeah, well, I pretty much have unlimited permissions on that car. Why is this different in...more >>

Running Job failed
Posted by afang at 8/28/2006 12:28:52 AM
Hi All, I have some problem where i want to running my job. I have 3 Package(A, B, and C). And then i created again Package D. In DTS D i run my 3 Package(A, B and C). The workflow is If A success then run B, If B success then Run C. After i created DTS D. I make a job for DTS D. I run this ...more >>

Total Queries Executed
Posted by Mark Miller at 8/28/2006 12:00:00 AM
Is there a way to get the total # of queries (not just transactions) executed against a database for a given time period. I figure I could track it using profiler, but I don't want to analyze the queries in any way, I just want an idea of the load on the server. One reason would be so I could ...more >>

SQL Server Update(?) problem
Posted by Jason Huang at 8/28/2006 12:00:00 AM
Hi, In my SQL Server 2000, MyTable, I have data like this: 1A A a 123 2A A aa 456 2A A aa 789 2A A aa 888 4B B b 147 5B B bb 258 What will be the SQL syntax for the query so that the output is 1A 1 a 123 2A 1 aa ...more >>


DevelopmentNow Blog