all groups > sql server (microsoft) > january 2007
Filter by week: 1 2 3 4 5
SQL Server service doesn't start
Posted by Lee w at 1/31/2007 4:28:45 PM
When i try to start SQL 7 on my Windows 2000 server i get the
following message.
An error 1053 (The service did not respond to the start or control
request in a timely fashion.) occurred while performing this service
operation on the SQLServerAgent service.
I know this is vague. It happene... more >>
Help on Query - Finding Record with Lowest Field Value
Posted by Mark Olbert at 1/31/2007 4:08:26 PM
I have a table with two fields:
idnum (index)
full_name
I'm trying to design a query, or set of queries, that will let me identify the records with the "lowest" (i.e., first in an
alphabetical sort) full_name, by first letter of full_name. In other words, if the data looked like this:
1 A... more >>
Updating Partitioned View Across Linked Server
Posted by Dan at 1/30/2007 6:45:58 PM
Greetings,
Using SQL Server 2000 SP4 64 bit edition, I am trying to update a
partitioned view on one server from another. Here are the
details.....
Server A (Where Insert Query Runs From):
insert into archiveLS.archive.DBO.archive_View
select * from #buffer (NOLOCK)
where recordnum > @... more >>
LEFT JOIN Question
Posted by David Fabian at 1/27/2007 3:58:07 PM
TableA TableB
Name ID_A ID_A MoreData
AAA 1 1 111
BBB 2 1 222
CCC 3
SELECT * FROM TableA
LEFT JOIN TableB ON ... more >>
SQL 2005 Compact Edition
Posted by Joe Spears at 1/26/2007 7:34:59 PM
Hi
Does anyone know if SQL Server 2005 Compact edition supports T-SQL Stored
procedures??
Thanks
... more >>
large SP performance difference between identical servers
Posted by Bob Speaking at 1/25/2007 11:56:07 PM
Hi at all,
first post in this NG (i usually walk around .net programming ng :P )
I've decided to write cause I have a strange (Strange for me.. I'm a
beginner with sql server).
well...too words....i go directly to question :
I have 2 sql server installed on 2 identical machines (same cpu... more >>
URGENT:SQL SERVER conveting date to integer
Posted by Usha at 1/25/2007 1:23:45 PM
Hi
I have a date column.I want to convert this date to integer.Similarily
I want to convert current date to integer and find the difference
between these two dates
Please let me know regarding the same.
Regards
Usha
... more >>
Scheduled Job fails, but package runs successfully...
Posted by None at 1/25/2007 8:58:06 AM
Hi all,
I have a DTS Package which imports data from a different server. this
job is scheduled twice a day and at times the scheduled job fails with
an error... Not all times, only some times the failure occurs.
Description : MSHSRMNSUKP0056 (SQLSERVERAGENT[208]) - Action=Please see
Ops Doc... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Text always truncated in Update Query - SQL Express 2005
Posted by cptrinse NO[at]SPAM gmail.com at 1/24/2007 8:02:07 AM
I have a very simple query:
-- =============================================
-- Author: #########
-- Create date: ########
-- Description:
-- =============================================
ALTER PROCEDURE [dbo].[###########]
-- Add the parameters for the stored procedure here
@quoteid in... more >>
2005 - BOL as CHM ?
Posted by northof40 at 1/23/2007 1:23:51 AM
Hi - I've recently installed 2005 and I would much prefer BOL etc in
the old format (CHM ?). Is this available anywhere ?
Failing that could anyone tell me :
1. How can I arrange it so that I never see anything else but the
internal help. I've tried turning off 'online' but the search functi... more >>
Problem with view
Posted by Chris at 1/22/2007 3:37:47 PM
I am trying to create a view that creates a mailing list from two
different tables. The t-sql code executes successfully but when I try
to open the view I get this error message [Microsoft][ODBC SQL Server
Driver][SQL Server]Error converting data type vchar to float.
Here is the t-sql code I ... more >>
Views
Posted by Bill Byrnes at 1/21/2007 8:38:46 AM
I am new to SQLServer 2005 but not to relational databases. I am puzzled by
the behavior of views. I can use the view in Visual Studio or open it in
SQLServer Management studio and the virtual table displays correctly except
for sorting (ORDER BY in the SQL statements). Joins and filters all w... more >>
SQL SERVER 2000: obtain user list
Posted by diaboliko80 NO[at]SPAM gmail.com at 1/18/2007 5:55:34 AM
Hi,
I would like extract in a document (.doc, .txt, .cvs, .xml or also) the
complete list of all user that logins to my SqlServer 2000.... that is
I need to know for each user to which databases accedes.
For example, the user TOM WHITE accedes to the database [SCHOOL],
[NEWS] and [JOB] with r... more >>
SQL 2005 Log Shipping
Posted by hobbzilla at 1/17/2007 9:51:15 PM
So, I have a primary database performing log shipping to a secondary
database. The logs are being backed up shipped and restored onto the
secondary.. NOW WHAT?
Trying to test the effectiveness of the solution, but have not found a
single article on how to promote or activate, etc the secondary... more >>
Rather urgent: Cannot open user default database. Login failed.
Posted by JimCinLA at 1/16/2007 10:48:43 AM
On an ASP.Net 2.0 appliaction, I use ASPNETDB.mdf in the project's
App_Data subdirectory for forms authentication. This works fine inside
Visual Studio 2005.
When I deploy the application to an IIS server on the same computer,
I cannot open ASPNETDB.mdf. I get the usual message:
... more >>
SA Password Change
Posted by whitehsm NO[at]SPAM gmail.com at 1/15/2007 3:50:37 PM
Our DBA has just left our company and I am covering for the meantime. I
have some very basic SQL server skills and have been asked to change
the sa password on all SQL installations/instances (we have a SQL
Cluster environment as well as stand alone SQL installations).
What is the best way to ... more >>
What is Causing a Sudden Increase in User Connections?
Posted by rob at 1/15/2007 12:14:04 PM
A few times a day we get a dramatic increase in the number of user
connections on our database (sometimes 4 to 5 times as many according
to perfmon). Here is some additional information...
- from the time the number of connections starts to increase to the
time it drops back down to a "normal... more >>
Modifying system tables in SQL Server 2005
Posted by Prasad at 1/13/2007 4:38:11 AM
Hi,
I wanted to know if there is a way to modify the system tables in
SQL Server 2005, and if yes a way to audit these actions.
I tried selecting from the system tables (using a DAC connection),
it allows me to do so, but the profiler doesnt report on this action.
Table queried on :... more >>
how to check if mytable is exist via an asp file
Posted by Mint at 1/12/2007 10:02:29 PM
i want to create an asp script.
it can do the task below.
1. check if the mytable is exist?
2. if exists drop mytable
3. create my mytable.
my question how to check if mytable is exist?
please advice an asp script.
or anyone can tell me how to create a procedure which can create a
table , th... more >>
drag&drop script into QA vs SQL server 2005
Posted by PGA at 1/11/2007 7:14:16 AM
when I drag&drop a script into QA when a connection is alredy
established, automatically QA starts new conn on same db. I'm not able
to gain same behavior with SQL 2005 Management Studio because the
script is entered in edit mode with no Run available. Am I wrong ? No
hope ?
Best regards
paolo... more >>
Error message Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used a
Posted by ernie at 1/10/2007 11:52:50 AM
I am new user to SQL and I am trying to create a sub query. I keep
getting the following error
Subquery returned more than 1 value. This is not permitted when the
subquery follows =, !=, <, <= , >, >= or when the subquery is used as
an expression.
My queries work seperately but when I put the... more >>
How to recover after restoring over a wrong database
Posted by dominicstpierre NO[at]SPAM gmail.com at 1/9/2007 6:05:59 AM
Hi all,
I'am completely helpless regarding a mistake that occured yesturday.
The problem was that I've restored a Database over an existing one, and
force it to overwrite, but I did not noticed that I was doing it in the
wrong database. Let me explain it with a little sample:
DataBase1
... more >>
Definition: A Catalog vs. a Database?
Posted by John Heitmuller at 1/8/2007 1:02:28 PM
Am I correct in thinking that a catalog is structurally identical to a
database in everyway? The only thing that distinguishes a catalog from
a database is that a catalog stores information about databases, not
user data. Thus, the "master" database on a server is the catalog
for that server.
... more >>
WEEK of the MONTH Brain Twister...
Posted by jebuskrust NO[at]SPAM gmail.com at 1/4/2007 11:08:04 AM
Heres a mind twister for you all that I cant figure out yet..
Backend: Ms sql 2005
Example:
DECLARE @TABLE TABLE ([COLUMN] DATETIME)
INSERT INTO @TABLE([COLUMN]) VALUES('1/1/2007')
INSERT INTO @TABLE([COLUMN]) VALUES('2/1/2007')
INSERT INTO @TABLE([COLUMN]) VALUES('3/1/2007')
INSERT INT... more >>
SQL Stored Procedure Error - parameter with "-" character
Posted by amkate at 1/3/2007 5:10:43 AM
Hi Everybody,
I had created a stored procedure wherein i had passed the parameter
contains(tablecolumnname,searchstring)
It is working very fine except
if the search string is carrying "-" character.
Let me explain the problem.
if the parameter is
((contains(col1,'"abcd*" '))) then it will ... more >>
Creating relationship between views
Posted by Sue at 1/2/2007 11:07:39 AM
Is there a way to create a relationship between the views in a
database.
More like a Primary - Foreign key relationship like you would do for
Tables.
... more >>
|