all groups > sql server new users > january 2005 > threads for january 1 - 7, 2005
Filter by week: 1 2 3 4 5
Deleting records older then x
Posted by Thomas B. Johansen at 1/7/2005 12:35:08 PM
I have a table where i do not control the input, but i will like to delete
records there is older then a some data/time and i have tryed to make this
Tsql to delete record older then 7 days, but it do not work well when the
day of month is lower then 7 !!!
anyone like to help a newbie ;-)
... more >>
Permission
Posted by Ed at 1/7/2005 10:09:05 AM
hi,
I assign an employee (John) to be a Database Owner of a database called HR.
Why when he create a database object (table, view, or sp), the owner
column shows John not DBO
I thought when System Admin or Database Owner creates a object, the owner
should be DBO, am I wrong or missing s... more >>
Problem Transact-SQL Statement
Posted by Allen Yu at 1/7/2005 12:53:00 AM
I've come across a Transact-SQL statement as follows:
-- Statements start here
select 'EXECUTE sp_changeobjectowner ''' + name + ''', ''dbo''' from
sysobjects where type = 'U'
-- end here
Questions:
(1) How should the 'select' statement be interpreted?
(2) What are the rules for u... more >>
DatePart question
Posted by Evan at 1/6/2005 1:28:01 PM
Hi people.
Very new to this so not even sure if this is the right NG!
We have started running our business system off an SQL Server. As such we
are writing some views to help us, these are attached in Excel, Access etc.
Anyway one is for orders. We need to group by week. In Access (where I... more >>
MS SQL
Posted by Ondøej_Krebs at 1/5/2005 3:39:59 PM
Hi,
I need password user "sa" after default installation.
Password is not empty.
I am install MS SQL 2000 with Windows Authentication.
=20
Thanks.=20
=20
Ond=F8ej Krebs
CZ... more >>
Jobs not running after restore
Posted by Monty at 1/4/2005 8:48:25 AM
Thanks to everyone on the earlier post. The issue there was the default path
created by the restore wizard. In any case, the restoration completed and
all seems well except backups, Integrity checks and optimization jobs fail.
Other jobs created to update tables run correctly with the same use... more >>
triggers??? I NEED HELP
Posted by carlos at 1/3/2005 7:13:01 PM
Hi,
I have a problem in SQL 2000. I have an db application where user can
insert (by mistake) char type instead of an integer or numeric values. I
created the following trigger in SQL 2000:
CREATE TRIGGER trgEBL ON dbo.B
FOR INSERT, UPDATE
AS
declare @value char(255)
select @value =... more >>
Named Instances on SQL 2000 Developer Edition
Posted by Charles Allen at 1/3/2005 3:47:36 PM
I've got SQL 2000 Developer edition installed on Windows XP Pro.
I'm trying to create a new instance. It seems to install fine but it always
returns an error saying it could not connect. I've noticed when I read the
log file that the password it used to connect is blank, even though I set
o... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
msdb (syspect)
Posted by Chen at 1/3/2005 12:57:23 PM
My Sql server msdb database demaged.
I did not backuped it before.
I copy the msdbdata.mdf and msdblog.ldf from other SQL database.
But not working.
How can I fix it
Thank
... more >>
Performance monitoring/tracing
Posted by Stan at 1/3/2005 12:35:04 PM
I was tring to get the performance stats like CPU time per transaction, IO
per transaction, etc. I tried SQL Profiler, but the event "SQL Transaction"
tracks all transaction begin/commit/rollback and doesn't capture the resource
used by the transaction. Is there any other ways of tracing the p... more >>
Any Open Source Project??
Posted by Shyam at 1/3/2005 10:53:06 AM
Hello,
Is there any website/URL for SQL Server ,where in i can work from my home
and contribute towards the open source projects?
Please suggest!
Cheers,
Shyam... more >>
Upsizing from Access to SQL Server
Posted by RogerC at 1/3/2005 2:06:42 AM
Hi,
I am upsizing a complex Access database that is the back end to a web
application to SQL 2000.
It has taken quite a while to get it running in SQL Server - having to
correct many queries to views, create stored procedures and correct
relationships on fields of different sizes that access ... more >>
Where is the IDE?
Posted by Jim Shaw at 1/2/2005 9:27:44 AM
BlankI've developed database based applications for 30 years, but I'm brand
new to Microsoft's version of databases. I have completed one business
application in Access 2002/VBA and now I want to learn SQL/2000. I've read,
in depth, the introduction to my old SQL Server Developer's guide, and
... more >>
|