Groups | Blog | Home


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) > april 2006

Filter by week: 1 2 3 4 5

MSSQL List of tables in view
Posted by jjxjjx at 4/28/2006 4:51:06 AM
Hi, I need to remove list of tables from all views There are cca 100 generated views and each is using many tables, as input of my stored procedure i have table name and i need to: 1. delete this table (solved) 2. delete usage of this table from all views (problem) ---------...more >>


Error in SQL Server Management Studio
Posted by DCDev at 4/27/2006 12:37:51 PM
I installed SQL Server 2005 Developer Edition and everything was working fine. One day, I launched SQL Server Management Studio from the desktop and received the following error: "Package 'Microsoft SQL Management Studio Package' failed to load." I receive this error every time I start the Ma...more >>

Jobs not running manually or scheduled
Posted by Atkins at 4/27/2006 8:37:16 AM
I'm assisting someone who started having trouble with most of their scheduled SQL jobs not running after they moved their server to a new location/plant. As a side note, my understanding is the servers belong to their own domain so this move should not have affected things too much. Further...more >>

System Stored Procedures in SQL 2005 Express
Posted by Chris at 4/26/2006 2:11:15 PM
Hi, I want to check for the existence of a table in my SQL Express database and check that it contains the correct columns and possibly create it if necessary. I know there are restrictions in the use of system stored procedures in SQL Server Express Edition but can I do what I need to? I'm...more >>

Promotional Version Legal?
Posted by M Pursley at 4/26/2006 12:18:04 PM
I have a promotional set of three microsoft titles of software (Ready to Launch) which were handed out at a Microsoft event. One of these is MS SQL Server 2005 Standard with 1 CAL. I don't find anything in the EULA, so is it legal to install, register and use this promo version in a busine...more >>

Linked Server Performance
Posted by wki1234 NO[at]SPAM hotmail.com at 4/25/2006 4:33:36 AM
I have a linked server to a Universe (pick) database using SQL OLE DB for ODBC and a Universe ODBC driver. The SQL queries I use return small amounts of data from small tables on the linked server and the queries are such that the linked server does all the work. Performance, however, is poor...more >>

Help!
Posted by Terry at 4/21/2006 4:26:59 PM
Hello, I am trying to copy user logins from one database to another on the same instance of SQL. I used DTS to export the data to the new database, when I should have used the backup option. I'm in a bet of trouble. Now the users can not access the copied database. I followed the suggest...more >>

How Do I Get SQL Server 2000 Reboot Time
Posted by BillJohnson4 NO[at]SPAM gmail.com at 4/21/2006 11:13:53 AM
I'd like to report to the user when the server was most recently rebooted. Is there a stored procedure or SQL Server 2000 command that I can issue? ...more >>



Binary Search
Posted by janina at 4/20/2006 9:14:01 AM
How do you do a binary search ...more >>

Hardware Configuration Help
Posted by BrettChe at 4/18/2006 8:38:25 PM
Hello, I have a hardware configuration question. If this is the wrong group please let know. The system uses MS SQL 2000 Enterprise to store all of the data. The data comes from a as web server (IIS 6.0, Win 2003 Server). The currently proposed solution comprises 3 different...more >>

select * in views
Posted by Peter at 4/16/2006 12:22:39 AM
People are telling me it is bad to put select * from <atable> in a view. I better should list all fields of the table inside the definition of the view. I dont know exactly why but some say: A select * from makes sql server does a table scan. Is that true, even if i put a where...more >>

wrong result set
Posted by Peter at 4/16/2006 12:00:00 AM
Hello all, I have the following t-sql batch: create procedure stp_test ( @p_date1 as datetime = null, @p_date2 as datetime = null ) as begin set @p_date1 = isnull(@p_date1, <some expression>) set @p_date2 = isnull(@p_date2, <some other expression>) select ...more >>

newbie cant get started
Posted by mpg at 4/13/2006 9:09:13 PM
i've downloaded the new sql express, but i dont see how to get started entering the raw data for the database. i mean, where is the interface for typing in the records into various tables? mike g ...more >>

connet to new server
Posted by soalvajavab1 NO[at]SPAM yahoo.com at 4/12/2006 1:17:54 AM
First time I am using sql server 2005. What is the default server name???? I can not see anything in managment studio. whenever i tried to connect OR create database through SQL sever Management studio, it asked me: server type: (here i select Database Engine) server Name : ( ??????????)...more >>

SQL Server 2005 Express Edition EULA
Posted by kpjunk NO[at]SPAM gmail.com at 4/11/2006 7:26:58 AM
Hello, I want to use SQL Server Express 2005 as the database server for a commercial web site. Web site users will have both anonymous and non-anonymous access to web pages on the site (generated from data in the SQL Server Express database). Is this kind of use within the EULA of SQL Serv...more >>

SQL: two count summary table
Posted by bweaver4usenet NO[at]SPAM yahoo.com at 4/10/2006 8:22:05 AM
Howdy. Any suggestions on how to coax two counts out of a single SQL statement? Problem: I've got a request table with statuses, timestamps, and other fields. I need summary counts of recent (say, in the last week) and total requests of the various status values. What I want: Status ...more >>

Automatically execute a script at a set time
Posted by SethosLA NO[at]SPAM gmail.com at 4/7/2006 2:15:51 PM
Hi all - This may be a really simple thing, but I am stuck... I am running SQL Server 2000 and I am trying to basically dump a table to a delimited file each evening around midnight. Is there a way to easily automate this? Thanks in advance! Timothy ...more >>

Locking table for possible update
Posted by dsvick NO[at]SPAM gmail.com at 4/6/2006 10:44:39 AM
Hi everyone: I just want to verify that I'm correct (or at least on the right track) with what I'm doing. I have a stored procedure that needs to see if a table contains a row with a certain value, if it exists, I want to update it, if not then create it. I want to ensure that if the row is...more >>

Need help understanding a memory issue
Posted by pshroads NO[at]SPAM gmail.com at 4/5/2006 10:09:44 AM
I get the following errors a couple of times a day and I want to make sure I understand what it's saying. As it states in the error, SQL Server "Failed to reserve contiguous memory of Size= 15990784." So it was unable to reserve 15 MB of contiguous memory, correct? As I understand it since thi...more >>

SQL Problem - how to SELECT with percentages of sums
Posted by srb24 at 4/5/2006 6:28:25 AM
SQL summed output as percentages question Hi I have a record set of the following form: APPLE APPLE BANANA BANANA BANANA BANANA ORANGE What I would like to do is return this record set in the form: APPLE 28.57% BANANA 57.14% ORANGE 14.28% Is this possible to do this in SQL (p...more >>

Moving a SQL 2000 DB to a new server
Posted by p-nut at 4/5/2006 2:19:16 AM
Moving to a new blade server that will require me moving my production DB to the new server. I've never done this before but it seems to be pretty straight-forward. Any tips I need to now for the switch-over? Thanks to anyone with help. ...more >>

Looking for Seattle User Group
Posted by mahalie at 4/4/2006 6:41:05 PM
Hi, I've been working with SQL for a few months now...some db design and a lot of scripting. I love it! Been thinking about the UW Certificate course in Database Administration. Anyway, I am looking for SQL user group in Seattle. If not Seattle, I suppose I'd give Kirkland/Bellevue/Redmon...more >>

subquery dreadfully slow
Posted by aaron.kempf NO[at]SPAM gmail.com at 4/4/2006 4:09:55 PM
I've got a question; i've got a view hitting against a subquery and it takes forever its like-- do i need to bind the subquery to the view in order to get better results? --TAKES 90 SECONDS SELECT * FROM vwSelectFolder WHERE FolderID IN ( Select DISTINCT FolderID FROM FILES WHER...more >>

Scheduling DTS package using a stored procedure problem
Posted by KR at 4/4/2006 11:48:22 AM
The DTS package runs fine through Enterprise manager successfully. However, when scheduled through a job that runs the dts through the following code: DECLARE @findfile int Exec @findfile = master.dbo.xp_cmdShell 'dir \\ServerName\folder\filename.xls', no_output IF (@findfile=0) BEGIN Exe...more >>

INFORMATION_SCHEMA.ROUTINES
Posted by Zamdrist at 4/4/2006 9:57:55 AM
Did MS miss object type (User/System) or am I blind as a bat? Select * From INFORMATION_SCHEMA.ROUTINES ... I don't see it. ...more >>

Send Parameters for IN Clause in Strored Procedure
Posted by Chris at 4/4/2006 5:28:04 AM
Can I send a parameter string value to a stored procedure for IN clause values ? ex. CREATE PROCEDURE Procedure_Name @Param1, nvarchar AS BEGIN SET NOCOUNT ON; SELECT * FROM COUNTRY WHERE country_no IN (@param) END If not, is there another way appart from creating SQL on runtime ?...more >>

SQL Permissions question
Posted by Doug at 4/3/2006 2:46:42 PM
A newbie SQL server question. This is SQL Server 2000. If I create a new SQL user, and give them db_datareader permissions to a database, I understand that they then have permissions to do a SELECT on any table in the database. If I then view the properties of that user on the database its...more >>

Does SQL Server 2005 have option to generate new backup file name every time?
Posted by Rob Kraft at 4/3/2006 2:25:09 PM
In previous versions of SQL Server, the Database Maintenance Plan would give the backup file a new name (date and time stamped) every time the backup ran. In SQL Server 2005, it appears that a file name is generated the first time the backup runs, but after that, all existing backups are append...more >>

Several table in explicit mode
Posted by roberta.inalbon NO[at]SPAM gmail.com at 4/3/2006 5:21:49 AM
Hello all, How can I use two tables in explicit mode: use company_table select 1 as tag, select 2 as tag, null as parent, firstname_employee as [employee!2!firstname_employee!element], job.jobid as [job!1!jobid!element], jobname as [job!1!jobname!element] from job join employee on jo...more >>

SQL Server Management Studio, SQL 2005
Posted by Dax at 4/1/2006 3:15:28 PM
Hi, I'm wondering if anyone else has encountered this issue? I have installed sql 2005 (developer edition) to a named instance on my WinXP Professional box. I can access the instance via VS2005, but when I try to open the Server Management Studio, the interface simply hangs. Anyone else exp...more >>

Need some help designing 2-3 queries . . .
Posted by Joe Befumo at 4/1/2006 9:25:17 AM
I've got a simple site stat collection database consisting of 4 linked = tables: =20 Sites - contains name of site Pages - contains name of page, with a foreign key into the=20 site table, indicating the site to which the page belongs. Visitors - contains unique visitors ...more >>


DevelopmentNow Blog