all groups > sql server (alternate) > october 2005 > threads for october 22 - 28, 2005
Filter by week: 1 2 3 4 5
unique constraint to a column from another table
Posted by uw_badgers NO[at]SPAM email.com at 10/28/2005 5:18:44 PM
Is it possible to create a unique constraint to a column from another
table? For example:
tb_current:
current_names
--------------
aaa
bbb
tb_new:
new_name
--------
ccc
Now I want to create a constraint on tb_new.new_name to be unique with
respect to tb_current.current_names. Howev... more >>
Multiserver Administration
Posted by Ren=E9_Dohmen at 10/28/2005 2:41:47 PM
I want to set up Multiserver Administration.
The problem I encounter is a firewall between the master server and some
target servers.
What ports need to be set open to make this possible ?
... more >>
DTS Table Import Issue
Posted by Scott at 10/28/2005 1:22:44 PM
I am using DTS to import tables into my new database from another
database, both of which reside on the same server. All the tables,
fields and data copy over fine; however when I go into design view of
the copied tables, the default values for all the fields are lost. It
seems to copy the struc... more >>
error message 18542 level 16 state 1
Posted by nicki at 10/28/2005 12:38:16 PM
hi we have a link server....and
the user credentials are not being trasfered to link server.....any
thoughts??
we get the following error message
Server message 18542 level 16 state 1
--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checke... more >>
Count(*) Locking up things ...
Posted by csomberg NO[at]SPAM dwr.com at 10/28/2005 9:13:07 AM
SQL 2000
I have inherited an application where many of the automated processes
call a proc that simply returns the number of records with a NEW
status.
In watching the process in SQL, I see this ends up blocking a lot of
processes - many like this are called every 5-30 seconds ...
I wish... more >>
Distinct Filter in SQL Reporting Services
Posted by hurst.andy NO[at]SPAM gmail.com at 10/28/2005 6:43:57 AM
Hello All,
I've got a stored proc that I can't change that creates a quite large
dataset and takes in 5 parameters. I need to be able to have each of
the parameters selectable from a drop down box so that as you go
through the list of parameters you restrict the results. I have it
able to l... more >>
MSDE and two instances on the same server?
Posted by Harkin at 10/27/2005 3:15:39 PM
So I installed an instance of SQL for an application (WSUS) and all was
well. Having read in many places that I could install multiple instances of
MSDE on the same box, I started the second install today (Live Communication
Server). The MSDE install portion of LCS gets almost completed and th... more >>
Attaching MDF without LDF
Posted by Taqyon NO[at]SPAM gmail.com at 10/27/2005 11:57:55 AM
Hi Guys
I'm recovering from a hard disk crash, trying to reattach recovered
files.
The MDF file seems fine, but I get:
"Server: Msg 9004, Level 23, State 1, Line 1
An error occurred while processing the log for database
'NetCoverAdmin'."
when I try to include the LDF file. My command ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Statement for returning stored procedure params
Posted by Capsule at 10/27/2005 11:54:25 AM
Hi all,
I'd like to put together a SQL statement that will take the name of a
stored procedure as a param, and return that SP's parameters.
I'm writing a test application, and I'd like to wrte a generator to
save myself some time, but I can't seem to figure out how to get the
params from a ... more >>
Find the Data Bases which can not be Backed up are some resons
Posted by duraisridhar NO[at]SPAM gmail.com at 10/27/2005 3:29:06 AM
hi all.,
How can I find the Data Base which can't backed up for reasons
like Data Base is in the middle of the Restore before
i start Backup Process .
Regards.,
Sri
... more >>
SQL Server 2000 and 8k limit
Posted by Mike R at 10/27/2005 12:00:00 AM
How can I check (from TSQL) if a table is likely to bust the 8k limit?
Thanks
Mike
... more >>
String manipulation challenge in SQL
Posted by wheresjim at 10/26/2005 4:19:02 PM
I have a sql query in which I need to isolate part of the columm value
and return only that isolated portion. I can only do this within the
select statement, and cannot add a function or anything like that. I
would also like to keep this query within sql (I don't want to do this
in my programmi... more >>
How to take data out of table, restructure the table and then put the data back in
Posted by Laphan at 10/26/2005 1:23:06 PM
Hi All
Wonder if you could help, I have a bog standard table called STOCKPRICES
that has served me well for a while, but now I need to change the structure
of it and because a number of users have used it in it's present form I need
to so the following in SQL script:
a) Grab a snapshot of t... more >>
Table Synchronization across databases on the same server
Posted by chandrub78 NO[at]SPAM gmail.com at 10/26/2005 12:25:43 PM
Hello Everyone
We have a third party tool which maintains its own custom
database,DB1 on SQL Server 2000 on Server A (Windows 2000). We built an
inhouse application which maintains a transactional database, DB2 also
on Server A derived from DB1. Since the DB1 is frequently updated the
synch... more >>
DTSRun causes The Memory could not be "read" application error
Posted by lyn.duong NO[at]SPAM gmail.com at 10/25/2005 5:35:36 PM
Hi,
I've got this dts package in sql server 2000 sp4 that has several
transformation tasks with an oracle database (10g) as the destination.
The package executes successfully when run through the dts designer but
when run using dtsrun, I get the following error at the completion of
all tasks ... more >>
Server Listing for TCP connection
Posted by N. Graves at 10/25/2005 10:55:42 AM
I'm having trouble with an ODBC User that can't connect to 2003
Windows Server with SQL2000.
The ODBC fails when he tries to contact with TCP client connection.
When I view the Network Connection it is displaying TCP is checked,
but when I view the error log is doesn't display that it is liste... more >>
too many connections
Posted by pardhi a via SQLMonster.com at 10/25/2005 6:20:22 AM
Hi
I am a dba for sql server recently we are facing problems with the no of
connections.
we have a database called ( x ) every day almost million users is using that
databse after some time the cpu showing 100 percent utilization an error
throwing like odbc error connection so in that cas... more >>
Identical database w/ identical stored procedures?
Posted by HeadScratcher at 10/25/2005 4:41:56 AM
We have written an application which splits up our customers data into
their individual databases. The structure of the databases is the
same. Is it better to create the same stored procedures in each
database or have them in one central location and use the sp_executesql
and execute the gener... more >>
Record , Row number
Posted by Elham Ghoddousi at 10/25/2005 3:42:24 AM
Hi
How can i have Row number in my SELECT Statement ?
Thanks
... more >>
Record , Row number
Posted by Elham Ghoddousi at 10/25/2005 3:41:49 AM
Hi
How can i have Row number in my SELECT Statement ?
Thanks
... more >>
Deriving unique rows from historical data
Posted by teddysnips NO[at]SPAM hotmail.com at 10/25/2005 2:30:17 AM
My application is to capture employee locations.
Whenever an employee arrives at a location (whether it is arriving for
work, or at one of the company's other sites) they scan the barcode on
their employee badge. This writes a record to the tblTSCollected table
(DDL and dummy data below).
... more >>
User Defined Functions, passing parameters from another udf's results (end result=Crosstab)
Posted by Ken Post at 10/24/2005 6:15:24 PM
Hi All:
I've read a whole slew of posts about creating temp tables using stored
proceedures to get the crosstab ability, but I'm wondering if, for this
specific case, there might be a more efficient way.
What makes this question different from the others that I've read is
that I'm using user ... more >>
Tool for clients
Posted by imani_technology_spam NO[at]SPAM yahoo.com at 10/24/2005 11:03:51 AM
Can anyone recommend a tool where I can email to someone both the SQL
query and the result set? Right now, I'm just copying the results to a
spreadsheet. No, I can't use Reporting Services or Crystal Reports.
... more >>
Stripping Punctuation
Posted by imani_technology_spam NO[at]SPAM yahoo.com at 10/24/2005 10:50:05 AM
Has anyone had to deal with removing punctuation (commas, apostrophes,
etc.) from a column? What is the most efficient way to have these
characters automatically removed from the column?
... more >>
Create Procedure Output ntext
Posted by rey NO[at]SPAM infoman.de at 10/24/2005 8:17:01 AM
Hello,
I need to produce with T-SQL a user defined function or stored
procedure that make one SLQ-Statement and prepare as string from the
result set.
The request muss be able to return a very long unicode string. The
return value nvarchar is being truncated so I'm trying to create a
stored ... more >>
DAO > SQL Server Processes
Posted by Chris at 10/24/2005 1:24:03 AM
I need to know exactly what VBA lines Create and Destroy SQL Server
Processes - i.e. those visible in Enterprise Manager under Management
> Current Activity > Process Info.
Why?
I am experiencing strange behaviour with Processes that are created
when I create a DAO Database Object with the ... more >>
How to select data
Posted by BabuLives at 10/24/2005 12:03:44 AM
my table ha follow structure..
SalaryTable:
Value Salary
------------
Jan 1000
Feb 2000
Mar 3000
Apr 4000
i want the o/p as..
Jan Feb Mar Apr
1000 2000 3000 4000
Pls give me a query for this
Regards,
Satheesh
... more >>
Quarterly trending
Posted by tran.loan NO[at]SPAM gmail.com at 10/23/2005 5:42:54 PM
I have a reporting query that I need to do a quarterly trending on. A
user enters a begining date and end date, and from there, I have to
determine the closest quarter to it.
Also, the actual Quarter starts on Sept 4th, then add 13 weeks to that,
will be the second quarter.
I was able to d... more >>
excluding fields in SELECT statement
Posted by ric at 10/23/2005 9:55:27 AM
Hi,
Is there a way to exclude fields in a query other than just including
the ones you want. If there are 20 fields and you want to see all but
3, it would be a lot easier to exclude the 3.
Thanks
... more >>
SQL Server 2000 Error 17805 Invalid buffer received from client
Posted by Amit Khatu at 10/23/2005 12:00:00 AM
Hi,
I've developed an ASP.NET application which uses MS-SQL Server 2000 as a
backend. But as the site hits increase SQL server reponse becomes lower.
At some stage after that SQL Server gets automativally stopped bringing
complete web-application down to halt. i checked the Windows 2000 Even... more >>
mssql ide (front ide)
Posted by yehaimanish NO[at]SPAM gmail.com at 10/22/2005 11:15:01 PM
Is there any front IDE for MS SQL as there is MySQL Front for MySQL. I
am looking for it so that it is easy to quickly add/edit/delete the
data from the existing table. Please prode the Download URL is there is
any.
Regards.
... more >>
Many data entry tables - which ones hold records?
Posted by heromull at 10/22/2005 5:57:36 PM
We have an asp.net app with about 200 data entry forms. Customers may
enter data into any number of forms. Each form's data is persisted in
a corresponding sql table. When data entry is complete, it needs to be
processed. Here's where the questions start.
How can we easily determine in whi... more >>
CAST Command
Posted by Mike at 10/22/2005 12:00:00 AM
I am using MS-Access as a front end for my MS-SQL DB. I have a sql view that
uses the following:
SELECT TOP 100 PERCENT RECID, PATNUMBER AS [PAT #], SVCCODE AS [Service
Code], QTY, PROF_CHRGS AS [Pro Fee's'], AMOUNT,
BILLDATE AS [Bill Date], CHKAMT AS [Check Amt], P... more >>
|