Archived Months
March 2003
April 2003
May 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
all groups > sql server (microsoft) > december 2006

Filter by week: 1 2 3 4 5

Reports
Posted by wguilbeau NO[at]SPAM gmail.com at 12/29/2006 10:45:54 PM
Hello, I am very new to SQL, so please go easy on me... I need to come up with a reporting scheme, and I am not sure what to do. Right now I pull information from SQL 2000 to Excel. I need to come up with something better, something automated. Can you please suggest some resources? Is there ...more >>


Problem with Index locking table
Posted by aaronGerlich NO[at]SPAM gmail.com at 12/29/2006 9:28:56 AM
Hi everyone, I have been experiencing a problem that is locking up queries on some of my db's. We do a lot of record updating, deleting, and inserting with a good number of indexes and it appears as if occassionaly something will happen to the table that causes all queries that use the index...more >>

SCM (Service Control Manager) output...
Posted by Blue Streak at 12/29/2006 8:16:47 AM
Okay, I'm confused. I am working with MSDE 1.0 (v 7.00) and MSDE 2000 (v 8.00) and the SCM utility. When I run the command "scm" I get a help screen with many of the different options available. For instance, if I were to type the command "scm -action 3" it will return an exit code to indica...more >>

execution plan for a SP with transaction differs from one without transaction
Posted by Nedo at 12/27/2006 9:03:52 AM
hi i have this sql statement: USE myDB --begin tran t1 exec mySP 'parameters' --rollback tran t1 (info: i want to rollback the transaction because i just want to test the SP and see the execution plan) the execution plan with the two transaction lines commented differs completely from...more >>

Problems getting data from an Oracle view to SQLSVR 2005 via SSIS any ideas?
Posted by hapedad at 12/23/2006 7:58:30 AM
When using SSIS and importing data from a view in ORACLE, the transformation does not pick up the precision on calculated columns from the Oracle view. The calculated columns in the view have precision applied to them via the CAST function. The data retrieved always comes back as a NUMERIC(...more >>

How to convince my customer to use SQL2005 instaed of Oracle10g
Posted by jcvoon at 12/22/2006 2:02:39 AM
Hi all: I need to convince my customer to use SQL2005, but after google, it seem like most of the people say oracle is better than SQL server.....why.... I need your input please. Thanks JCVoon ...more >>

Trouble moving db to another sql2005
Posted by dgk at 12/21/2006 10:44:34 AM
I'm trying to copy a database from my machine's SQLServer2005 to a production machine. I tried a restore from backup, which gave me an error that the on disk structure was 611 and the production machine supports 539. I've looked around and found similar problems, but those were all involving SQL...more >>

Moving SQLExpress database to SQLServer?
Posted by dgk at 12/20/2006 11:50:55 AM
I've been developing an ASP.NET app using the default user and profile provider, which is SQLExpress. But to go live we are going to use SQLServer2005. I know I can use the ASPNET_REQSQL tool to prime SQL2005, which apparently just creates an ASPNETDB.MDF file. However, since I already have a lo...more >>



Where is AdventureWorks in 2005?
Posted by brett at 12/19/2006 11:53:46 AM
I've installed the Developer edition of SQL Server 2005. The sample databases were selected. When I loaded management studio, I don't see the AdventureWorks database. I did a search on the hard drive and nothing came up except something related to reporting in a templates folder. No MDF file...more >>

Starting SQL Server 2005 Manually
Posted by rn5a NO[at]SPAM rediffmail.com at 12/18/2006 6:51:12 PM
I am working on WinXP Pro & use SQL Server 2005 as the database server. Whenever I log into WinXP, I find that it takes considerable time to start (though the desktop appears in a jiffy). When I had a look at the processes running in my m/c by opening Task Manager & clicking the Processes tab, I...more >>

script xp_cmdshell
Posted by tolcis at 12/18/2006 7:45:24 AM
Hi! I have a batch file (.bat) that I need to execute inside my stored procedure (SQL 2000). I am trying to call that batch file using xp_cmdshell command. I am probably not using it the right way but I am trying to pass a path of the batch file into xp_cmdshell and it doesn't recognizes it ...more >>

SQLserverTool
Posted by jjrmy1 at 12/15/2006 4:54:05 PM
Anyone have any suggestions for a good, user friendly, db management tool for SQL server? Needs to be able to create tables, insert records, modify columns, etc. Thanks, Jeremy ...more >>

Cold backups
Posted by stavros at 12/15/2006 2:03:40 PM
I'm going to shut down the SQLServer services (SQL 2000) and do a cold backup of all the databases before performing some system upgrades. BOL doesn't have much information on cold backups. Is it an absolute requirement to back up both the data and log files in a cold backup, or are the data fi...more >>

OPENROWSET and network share
Posted by Gugale at Lincoln at 12/15/2006 12:00:00 AM
Hi, I am not able to execute following command from computers other than the SQL server itself. select * from openrowset(bulk N'\\ImageServer\Model\Cam_05.dwg', SINGLE_BLOB) as doc I get following error message: Msg 4861, Level 16, State 1, Line 1 Cannot bulk load because th...more >>

Question on port number for connection to SQL Server 2005 Express
Posted by Menon at 12/14/2006 5:44:09 PM
I am a new user of SQL Server Express 2005 and I have a question. What do I need to do to ensure that the client can connect to the SQL Server 2005 Express database without specifying the port number - in other words just specify the instance (along with authentication mechanism.) We have mult...more >>

Showing the first time an event happened beside an aggregated result.
Posted by philipbennett25 at 12/14/2006 12:43:17 PM
Hi, Big fan of this group, always get great help. Can anyone help me with this one? I have a table of test results and each time the result is written up, it writes the software level of the test machine along with the test result, the date and what was tested. Sample below as Test_Table ...more >>

What's better for performance...
Posted by jebuskrust NO[at]SPAM gmail.com at 12/14/2006 10:59:59 AM
Just wondering if using @table variables can be more optimal for performance or if one should use #tmp tables instead ? Thanks ...more >>

ObsoletedSprocException is being thrown
Posted by Tom at 12/14/2006 7:45:43 AM
I have run into a strange problem with SQL Server 2000 (SP4). I am calling a fairly simple stored procedure that selects a set of data from one table based on several parameters passed in (combination of varchar and int). The problem is that everytime I execute this procedure, SQL server ret...more >>

Special View
Posted by Kurt at 12/14/2006 3:39:02 AM
Hi, I wish to know if it is possible and how can I create a view which represents values for each date during a period, knowing that I have only intermediate date. For a better comprehension, I gonna present you an example of what I'd like to do. Here is my table: Date value1 ...more >>

Normalization question
Posted by Bill Schanks at 12/13/2006 10:31:15 AM
I have a table with this subset of fields: ID int (PK) ImportID int ImportDateTime datetime ImportUserID int (FK) ExportID int ExportDateTime datetime ExportUserID int ExportError bit ExportProblem varchar(50) etc... My question is, should I make two new tables with the Import and Exp...more >>

column names - retrieval
Posted by tolcis at 12/12/2006 11:24:02 AM
How to retrieve only column names using SQL Query in SQL 2000 and SQL 2005? Thank you, T. ...more >>

Joining Access Replication ID to SQL Server GUID
Posted by robbie NO[at]SPAM fordpinto.com at 12/11/2006 9:22:57 AM
Hello, We've got a large vendor supplied SQL Server database in which almost all of the tables have GUIDs as primary keys. We are attempting to do some processing using our own in house procedures written in Access. In Access we link to tables in SQL Server via ODBC using .dsn files. The pr...more >>

What is 'asdb' and whether or not it should be backed up.
Posted by markfine at 12/11/2006 6:53:27 AM
We developed a DB for our customer using MS Access and upsized it to SQL Server. Our customer does daily back up of his DB and he asked me whether or not 'asdb' should be backed up as well. My question is: what is 'asdb' and whether or not it should be backed up. Any information or web links w...more >>

Using DISTINCT in left outer join
Posted by joelthedrummer NO[at]SPAM gmail.com at 12/10/2006 4:31:09 PM
Hello all SQL experts! I have an interesting problem. Say I have two tables: TableA: UserID | LastName | FirstName | etc... 1 | Brown | Joe | etc... 2 | Johnson | Jack | etc... TableB: UserID | Image 1 | jasdfnaekrasdjasdf 1...more >>

Upgrade from SQL 2005 Express to SQL 2005 Developer
Posted by kai at 12/9/2006 3:59:38 PM
Hi, I installed Visual Studio 2005 first, SQL Server 2005 Express was installed with VS2005. Than I installed SQL Server 2005 Developer Edition, but I cannot see Management Studio. How can I bring SQL Server 2005 Developer Edition up? I recall when installed, there is a message "Using com...more >>

integer - beyond 2,147,483,647
Posted by User at 12/7/2006 12:41:58 AM
what happends if an auto number (identity column) of datatype "int" goes beyond 2,147,483,647 ? Does user have to go for 64 bit in this instance? Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTI...more >>

Database change management process
Posted by Mehdi at 12/6/2006 10:02:31 PM
Dear In our company, we use sql server 2000 as the database server for softwares we produce. The problem is the way that we track the changes in database and control the changes which every developer makes in db (something like source safe that controls the code changes for our source codes) . ...more >>

Q: missing parent
Posted by G .Net at 12/6/2006 11:47:37 AM
Hi Can anybody tell me the sql query I need to find the following: I have two tables A and B. A is a parent to B. I need to find the rows in B which do not have a corresponding foreign key value to a row in A. Thanks in advance G ...more >>

inserting "0" to all fields.
Posted by User at 12/5/2006 9:42:47 AM
Hi, I have a table with 30 columns. I want to insert a value of "0" into the columns I do not wish to do a insert into table (col1,col2,col3.....col3) values(0,0,0,0,0,0,......0) as it is a very painful process. One comma missing and it's going to hurt my eyes. Are there any shor...more >>

Using MS SQL Server 2005 Enterprise Manager with MS SQL Server 2000
Posted by Alex at 12/5/2006 7:56:06 AM
Hi Everyone, Most of our MS SQL Servers are still running on SQL 2000, but being I will soon be upgrading my workstation to Vista Business I'd like to install MS SQL 2005 Enterprise Manager to manage them all. When I tried to install MS SQL 2000 Enterprise Manager on Vista, it gave me a mess...more >>

Newbie how-to websites?
Posted by Walksalong at 12/5/2006 6:07:19 AM
Hello, I am a newbie to SQL Server and I wanted to ask the group if they could recommend some resources on how to do basic functions such as create a data dump. Thanks! ...more >>

Consecutive days attending
Posted by Mike Hoff at 12/4/2006 10:51:02 AM
Hello, I am looking for a way to determine the maximum number of consecutive days that each client has attended an event over a certain date range. (consecutive being key, and my problem). For example: Over the date range 1/1/06 - 12/31/06, Bob attended 42 consecutive, Jim 17 consecutive, Mar...more >>


DevelopmentNow Blog