all groups > sql server new users > june 2005 > threads for june 22 - 28, 2005
Filter by week: 1 2 3 4 5
TOP 10 WITH TIES....question
Posted by Boris at 6/28/2005 12:01:15 PM
Hi!
I'm having doubts about WITH TIES command
I have this query:
USE pubs
SELECT TOP 10 sales.qty, sales.title_id, stores.stor_name
FROM sales
JOIN stores
ON sales.stor_id = stores.stor_id
ORDER BY sales.title_id DESC
This is plain simple...it gives me 10 rows. Everuthing fine.
... more >>
how to empty a field?
Posted by r at 6/28/2005 10:06:09 AM
I have a table that contains a smalldatetime field. One of the records had
a date entered into this field, and now I need to remove the date from the
field. Whenever I try to just "delete" it (delete key) I get a message:
The value you entered is not consistent with the data type or length of... more >>
How to identify hidden character in string
Posted by Rod Gilchrist at 6/28/2005 9:30:58 AM
I am trying to do an update where I first cast as string as a INT and get
back the following message:
Server: Msg 245, Level 16, State 1, Line 1
Syntax error converting the nvarchar value '725
' to a column of data type int.
When I past the offending column contents into Word it shows two ... more >>
New Hire - Taking over Databases
Posted by sqllady at 6/28/2005 8:21:05 AM
I am taking over a DBA position where the previous DBA left the firm and I do
not know the structure and/or the tables, views etc. What is the best way (
and the fastest)for me to find this out? thanks in advance... more >>
Insert into
Posted by Tango at 6/27/2005 11:51:01 PM
Hi
can i please have some assistance around performing a sql query that inserts
data based on a date range.
for example my initial query is
INSERT INTO tbl_master
([date], unavailableemployeeid, reasonid,
unavailablehours)
VALUES (, 1234, 12, 7)
but i want to ... more >>
SQL Server connection to a website - newbie question
Posted by Mike Webb at 6/27/2005 2:05:52 PM
We're a small non-profit org. (NPO) running Small Business Server 2003
(SBS2K3) and will finally (!) get broadband in the very near future. I want
to re-do our website with a ePhilanthropy focus. To do that, I'll need
forms for users to log in, enter and have the site save their info, let ... more >>
backing up and copying SQL dbase tables and structure?
Posted by Nathon Jones at 6/27/2005 1:58:26 PM
Hi,
I have a shared SQL database which drives a web site that I have created.
This is hosted on a particular domain.
I am transferring the site, and I want to move the SQL database data into a
new SQL database on our new server.
What is the best way to do this? I have, in the past, saved... more >>
SQL Agent Account
Posted by Gabe Matteson at 6/27/2005 12:11:52 PM
A problem occurred while attempting to logon as the Windows user
'SQLAgentCmdExec': The parameter is incorrect. The step failed.
There are a few jobs that developers create and they run under there
accounts, I do not want to give them sysadmin access, but they need
permissions to CmdExec. I e... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Drop all constraints and relationships?
Posted by et at 6/27/2005 10:06:18 AM
Is there a way to drop all constraints on a table without knowing it's name?
A constraint was created with a '-', and when attempting to drop it:
ALTER TABLE [dbo].[tblClients] DROP CONSTRAINT [FK_tblClients-Address]
GO
I get an error saying Incorrect syntax near '-'.
Second problem: when... more >>
Import SQL et Login NT...
Posted by MAF at 6/27/2005 12:00:00 AM
Bonjour à tous,
Quelqu'un peut-il m'aider sur le problème suivant ? j'ai bien chercher
sur le net mais n'ai pas trouvé de réponses...
<CONTEXTE>
------------
Je doit importer une base cliente sur ma plateforme de dev
Ma plateforme est sous Windows 2003 et se trouve dans le groupe de
tra... more >>
SQL Server Tables, Reports, Forms imported from Access
Posted by cpetta at 6/25/2005 9:56:01 AM
Could you briefly explain how to set up ODBC to create links so I can easily
transfer my MS Access Tables and related forms, roports, and queries to SQL
Server or point me to a good article or web site? I am just starting to learn
SQL Server and need to import my existing tables, forms, rep... more >>
SQL Agent Proxy Account
Posted by Gabe Matteson at 6/24/2005 2:10:34 PM
A problem occurred while attempting to logon as the Windows user
'SQLAgentCmdExec': The parameter is incorrect. The step failed.
There are a few jobs that developers create and they run under there
accounts, I do not want to give them sysadmin access, but they need
permissions to CmdExec. ... more >>
Compare Access and SQL Server queries?
Posted by Bill at 6/24/2005 1:31:58 PM
I need to compare records in several Access tables with records in
corresponding SQL Server 2000 tables by primary key value. Is is it
possible to join an Access (Jet not MSDE) table with a SQL Server table?
If not, what is the eaiest way to import an Access database into a SQL
Server database... more >>
Login times SQL server
Posted by JoseCM at 6/24/2005 7:22:01 AM
Hi everyone
I was wondering if is there a way that I can get how many times users have
been connected to my database in sql server 2000 group by on NT user, also I
want to make a stored procedure that stores every week or month how many
times users connected to sql server, to monitoring the... more >>
RE:Steps of Troubleshoot SQL 2000 Server
Posted by Davis at 6/24/2005 4:19:04 AM
Hello Group
Can someone provide me with steps of troubleshooting a slow SQL 2000 Database
Immediate response would be appreciated
Davis... more >>
MSDE, ASP.NET, Visual Studio .NET, and connectionstrings
Posted by Nathan Sokalski at 6/23/2005 6:45:34 PM
I have Visual Studio .NET and SQL Server Desktop Engine on my computer. I
have created an empty database using Visual Studio .NET's Server Explorer.
However, I am having trouble connecting to the database using ASP.NET. I
think the problem is somewhere in my connection string, but because I do no... more >>
Simple sql select
Posted by Aleks at 6/23/2005 2:01:30 PM
I have an sql to select 'customers', something like
Select * from clients
inner join cases on clients.id = cases.clientid
The client may have multiple cases and if I run the query like that I may
get the same client multiple times, how can I only display the client once
when there are multi... more >>
simple query select
Posted by Aleks at 6/23/2005 11:38:07 AM
I have an sql to select 'customers', something like
Select * from clients
inner join cases on clients.id = cases.clientid
The client may have multiple cases and if I run the query like that I may
get the same client multiple times, how can I only display the client once
when there are mul... more >>
where is there chinese microsoft newsgroups?
Posted by PENGFEI at 6/23/2005 12:00:00 AM
what is the chinese microsoft newsgroups NNTP name ?
pengfei
thanks.
pengfei
... more >>
Login failed for user 'sa'
Posted by John at 6/22/2005 7:16:01 PM
I just finished running rebuildm.exe to change the collation name. All
seemed to go OK, and I re_attached the databases associated with my main
application. After doing so, when I try to start the app, I get the
following error:
Login failed for user 'sa'
Then I get Focus<<server_login... more >>
Creating an empty database
Posted by Nathan Sokalski at 6/22/2005 4:28:00 PM
I want to create an empty SQL Server database with nothing in it so that I
can add tablesand other stuff to it using sql code. How do I do this?
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
... more >>
|