all groups > sql server new users > december 2004
Filter by week: 1 2 3 4 5
Identifying possible matches
Posted by Johnny at 12/30/2004 10:03:02 AM
I have a customer with two companies. Both companies stock the same items
but not all of the item numbers are the same. They would like to have the
same item numbers in both company's and are looking for some help in
identifying the possible matches. For example, company A has item 12345 an... more >>
Storing .pdf files in SQL-Server
Posted by Jeff Boyce at 12/30/2004 9:35:43 AM
I noticed that SQL-Server has an "image" type field. How can I store a Word
document, or a .pdf file in that field, and retrieve a copy to inspect?
Thanks
Jeff
... more >>
Changing a datatype?
Posted by Rory at 12/29/2004 2:49:25 PM
I am trying to change this query so that the output in the DTE and TME
column are combined in a single column and would like it to be formatted as
yyyy-mm-dd hh:mm:ss:000 but I seem to keep getting errors when I incorporate
various changes. Any direction would be appreciated.
SELECT Comput... more >>
Need help to setup profiler at server side
Posted by Sunny at 12/28/2004 3:54:24 PM
I have created one trace with Security Audits event only and about 10 data
columns and no filter. Which runs fine SQL profiler. I just want to trace
users activity on server. But I want to keep this trace running on the
server. How can I setup to run trace on server from client. I have admin
rig... more >>
Make a test copy of a live database
Posted by jerryk at 12/28/2004 9:24:15 AM
Hi,
I need to make a copy for testing purposes of the a live database. I am not
concerned that my data is completely accurate, ie. can handle seeing a
transaction in action. The one thing I cannot do is detach the database,
since the database is operational 7 X 24. Any thoughts on the best ... more >>
Configuring BizTalk Server 2004!!
Posted by Shyam at 12/27/2004 8:43:01 PM
Hello,
I've installed BizTalk Server 2004, but was not able to configure it.
I tried few possibilities and was not successful. As i'm new to BizTalk
Server, can some one help in configuring it. Please provide me with steps to
follow or any website where a detailed description is given.
Kind... more >>
DTS Scenario Problem...a bug found!!!
Posted by Shyam at 12/27/2004 8:15:01 PM
Hello,
I've a problem in DTS.The following is the scenario:
The DTS which i developed is scheduled to run every day thru JOBS.
The DTS has to check for the new data which has come in the past 24hrs and
it connects between Oracle and SQL Server.
So,when ever the new data comes fromOracle to SQL... more >>
Single Trigger to Multiple Tables
Posted by Saradhi at 12/24/2004 6:48:09 PM
Can I assign a single Trigger to multiple tables?... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
UniqueIdentifier Data Type
Posted by Jeff Cobelli at 12/24/2004 1:28:38 AM
I am trying to pass a UniqueIdentifier as a parameter to a SQL Server stored
procedure from a .asmx webservice. Whenever I try to run it, I get the
following error: "Invalid cast from System.String to System.Guid." I have
tried changing the datatype of the parameter in the WebMethod but noth... more >>
Definitive Book for SQL Server 2000?
Posted by Bill M. at 12/23/2004 11:39:39 PM
I am trying to learn more about SQL Server 2000 and wonder if anyone can
recommend a book to help? Thank you.
... more >>
What is wrong with this query?
Posted by Monty at 12/23/2004 8:49:33 PM
I am tired and it looks correct but I get a syntax error near MOVE
use master
go
restore database MMS_CSS_DATA
from disk = 'C:\Program Files\Microsoft SQL
Server\MSSQL\BACKUP\MMS_CSS_DATA\MMS_CSS_DATA_db_200412211730.BAK'
with norecovery
MOVE 'InventorySQL_dat' to 'C:\Program Fil... more >>
Exporting MS SQL
Posted by Zagor at 12/23/2004 1:01:39 PM
Hi All,
thank you for you time in advance.
I am new to MSSQL, and I managed to create a sample database in my local
machine, query the database etc.(using ASP.NET and C#)
My next step is to "upload" the database to the Hosting service which
support MSSQL. There is alot information on the net,... more >>
Triggers and Stored procedures
Posted by ªL©ú©v at 12/23/2004 11:37:26 AM
Dear all:
I have three table named A, B and C. If any data inserted into or
updated to table A, a trigger of A will deal with data extraction and write
extracted data to B and C.
And, B has a trigger to deal with other data consistency job, a stored
procedure named sp_D. This stored pro... more >>
Database hits
Posted by foobar at 12/22/2004 12:54:38 PM
I have an asp.net page that is querying an SqlServer Db for various data to
be displayed. Is it better to hit the database several times to pull this
data over to the page or, should my stored procedure contain several select
statements thereby only connecting to the database once?
... more >>
Sending automatic mails daily by executing stored procedure
Posted by Sai Ashok at 12/22/2004 2:39:09 AM
hi all,
I want to send email daily by executing a stored procedure. This stored
procedure should be automatically executed daily. I want to use my existing
official company mail id for sending emails ( i cant create separate mail id
for that).
Kindly reply .
--
Regards
Ashok s p
Lov... more >>
DTS batch and PLAN
Posted by Andriolli Arrigo - Italy at 12/22/2004 1:29:02 AM
We have a DTS SqlServer that run every nigth at 4.00 am. To accelerate this
execution i would like to re-utilezed the access plan created the previous
night, but every night the DTS recreated the access-plan because the work
during the day clean and write the memory.
As can I resolve this pr... more >>
How to remotely adminster Sql Server
Posted by BBFrost at 12/21/2004 11:07:52 AM
Hi,
We've just set up Sql Server 2000 on Win2003 server. My office machine is
currently running Win2000.
It's been years since I played with Sql Server and I don't remember the
drill for setting up remote administration. I.e. I'm in my office and the
machine is in the server room. I need... more >>
Linking from Access to..
Posted by Sarah Stockton at 12/21/2004 8:39:06 AM
I would like to creat a table in Access, that is linked to my SQL server. I
have never done this and I am very new at SQL. Is this even possible and how
do I accomplish it?
Thank you
--
Sarah Kathleen Stockton... more >>
Access Query to SQL View Questions
Posted by RogerC at 12/21/2004 12:14:23 AM
Hi,
I am upsizing an Access database to SQL 2000.
1) In an Access query the following is allowed:
SELECT ...,Expr1 AS A, Expr2 AS B, [A]+[B] AS C, .... FROM .....
Apart from replacing the [A] and [B] with the whole of Expr1 and Expr2 again
is there an equivalent in SQL?
2) There ar... more >>
Report slows down other applications
Posted by Helen Stein at 12/20/2004 1:24:47 PM
Hello,
I wrote a report in COBOL using embedded SQL. This report opens 5
insensitive cursors (to avoid locking) sometimes one within the other to
access data. 5 tables accessed by this report used in the mission critical
applications that require high performance and speed for insert, update ... more >>
Designate an users database lock
Posted by Gunnar at 12/20/2004 8:17:35 AM
Dear Teammembers,
is there any posibility to designate which user causes a database lock?
Thanks in advice.
Gunnar
... more >>
Selecting many Count(*)
Posted by Sven Pernils at 12/19/2004 9:08:52 PM
Hi, Im new to this use group and this will be my first post.
I have been running in to this problem, with counting the actual rows in
three tables in the same query.
Two tables I have managed to count from, but three is over my head. I have
theese three tables:
1. Is the table with image ... more >>
SQL Server Service Manager
Posted by denmarfl at 12/19/2004 11:07:05 AM
Purchased Sudio MediaSuite software and that software installed SQL Server
Service Manager by Microsoft ver 8.x. I have no idea what this software is,
there was no choice when installing MediaSuite asking if I wanted SQL Server
installed, it running on my PC, I see it in the Startup menu and ... more >>
Setting up SQL Mail
Posted by Amit at 12/17/2004 12:20:56 PM
Hi,
How can I get a profile to show up in the drop-down on SQL Server Agent
properties? Is there a way to do this without installing Outlook on the
machine?
Thanks
amit
... more >>
spare server not clustered
Posted by tjchamp at 12/17/2004 9:41:14 AM
We presently have a server running sql server for our Great Plains
accounting application. The server has an attached array that contains the
database data files, tempdb, and backups. The server contains the operating
system, and sql server database log files on internal drives. Company does... more >>
Understanding one-to-many relationships.
Posted by Homer Fhardwhoster at 12/16/2004 5:02:00 PM
I'm just starting out with SQL server and I am trying to understand the
following.
I have two tables, say "Clients" and "Products"
A client can buy one or more products so I want to have a "Products" field
in the clients table. which stores the list of products a client has bought.
How do... more >>
Table names in result set
Posted by Christoph at 12/15/2004 3:46:26 PM
Is there a way to get it so that the columns in a result set
are preceded with the table name that column belongs do?
Without manually aliasing each column?
Right now, if I run the following query:
select table1.*, table2.* from table1, table2;
it only shows the column names. For example, ... more >>
Restoring a Log file
Posted by Wells Caughey at 12/14/2004 8:46:19 PM
I am a little confused about this point in time restore stuff. Currently I
have a full backup of the database and I have the uncorrupted logfile (I
guess it could be corrupted but I don't think it is). I thought that I was
supposed to be able to restore the full backup and then apply the log... more >>
New User Database Location
Posted by Steven Hutchinson at 12/14/2004 3:43:00 PM
Is it possible to change the default location for newly created user
databases? I have recently changed the location of the user databases to
another drive and would like to configure SQL to create new databases in
this location instead. Is this possible by changing the database and
transact... more >>
Easiest method of copying databases
Posted by Amit at 12/14/2004 9:01:22 AM
Hello,
What is the best method of copying databases between servers? We have some
servers with Sql Server 7 and others with Sql Server 2000 and many times the
wizards don't work for the version 7. The method that I have been using is
rather drastic in my opinion - I copy the mdf file from server... more >>
union with order by
Posted by Roland at 12/14/2004 3:37:02 AM
Here is what I'm trying to achieve...
select field1, field2, field3 as theDate from table1 where field2 =
someAmount and field1 not in
(select top 5 field1 from table1 where field2 = someAmount order by field3)
union
select field1, field2, field3 as theDate from table2 where field2 =
anot... more >>
sql db installer
Posted by Pohihihi at 12/13/2004 2:34:05 PM
Hello NG,
I have production DB (SQL 2000) and I have to make something that will allow
customers of my application to install sql server db on there running
server. Now what could be the best way to do as I have +300 tables , tons of
SPs, Indexes, Jobs, and other objects on production and t... more >>
What are the requirements for installing SQL 2k and Webserver HP u
Posted by MikeA at 12/13/2004 10:05:09 AM
What are the requirements for installing SQL 2k and Webserver HP unix
so that I can host online Database application from the Servers... more >>
SIMPLE vs. BULK-LOGGED recovery model
Posted by markydb at 12/13/2004 9:43:02 AM
For many good reasons, all my company's databases are set to the "Simple"
recovery model. Would there be any performance boost in terms of BULK INSERT
and SELECT INTO operation if we used the "Bulk-Logged" recovery model? BOL
says that both models "Permits high-performance bulk copy operatio... more >>
DBCC SHRINKFILE Taking Forever & GROWING Data File Instead of Shrinking It
Posted by Anthony M. Davis at 12/12/2004 9:12:44 AM
Hello all,
I'm getting unexpected behavior when running DBCC SHRINKFILE on my 9 GB data
file. First, it's been running in excess of 10.5 hours now and, second, it
is ever-so-slowly *growing* the used portion of the file. For instance, when
I look at the 'Space allocated' section of the Task... more >>
secure transfer of data
Posted by mick at 12/11/2004 7:31:03 AM
Is there any way to work on a sql server database remotely (using Enterprise
Manager or an Access Project) securely? ... more >>
limited number of databases?
Posted by ksb at 12/9/2004 11:17:32 AM
Running SQL 2000Enterprise Edition. Is there a limit to the number of
databases one installaion can support? (Is an installation of sql referred to
as an instance?)... more >>
Primary Key (uniqueidentifier) default value (newid) problem
Posted by Tom at SDI at 12/9/2004 11:08:33 AM
I'm sure I'm doing something very simple wrong here.
I've defined a table where the primary key is defined as type
uniqueidentifier, nulls not allowed, and the default value is (newid()).
I'm trying to insert a new row using a command like the following:
insert into MyTable values(null, '... more >>
collation sql 2000
Posted by francesco at 12/9/2004 8:59:05 AM
Hy,
May problem is...i have changed sort-order on sql server 2k.
Target is change collation from "SQL_Latin1_General_CP1_CI_AS" to
"Latin1_General_BIN"
I explain step by step my operation:
1 - Backup user database
2 - Export data DTS user database in another istance of sql with collation
"L... more >>
SQL2005 Samples
Posted by Bob at 12/8/2004 3:35:04 PM
Is there a script to create the NorthWind database in SQL2005? There doesn't
appear to be any sample databases.... more >>
sql job vs direct run
Posted by Pohihihi at 12/8/2004 12:47:29 AM
Hello NG,
I have TSQL script that creates table (using cursor). When I run it directly
on query analyzer it takes 45 mins but if I make a store proc and run the
same script (by calling it from a job) it takes more than 12 hours. What is
happening in job or store proc that it is slower that ... more >>
re: SQL Server and Access Reports
Posted by Arman at 12/7/2004 7:38:05 PM
I was trying to run my Access Report using Link Tables from SQL Server. It
is very strange that i am recieving ODBC-call failed when executing a
query.
RIGHT JOIN = Error
INNER JOIN = Ok.
dbo.TableName does not match with a table name or alias name used in the
query #107..
How can i fi... more >>
Need to interface MS SQL in C++...
Posted by acoquinar at 12/7/2004 2:24:16 PM
Greetings !
We need to find if MS SQL has an API for connecting C++ components to it.
We don't know if "extended stored procedure (xp)" is the way to go.
Why do we need that ?
We must implement a synchronization software layer to make sure an ODBMS has
the same values as tho... more >>
Alerts - SQL Server Agent
Posted by Ignacio Hernandez at 12/7/2004 12:06:37 PM
Hi,
I'm trying to find a sample on how to set-up (or trigger) a SQL Server event
alert of Severity 009- User Defined.
Thanks in advance,
Ignacio
... more >>
SQL 2000 and SQL Lite
Posted by Mike Lawrence at 12/7/2004 10:45:06 AM
I have an application that uses SQL and another that we will be upgrading
soon. The application we are upgrading has the option to use SQL or SQL
Lite. I'm assuming SQL Lite means MSDE. I was wondering if it is possible
to run SQL and SQL Lite on the same server for two different applicatio... more >>
Enterprise Manager Error Message
Posted by bashar at 12/7/2004 9:39:18 AM
everytime i want to (Open Table-->Show All Rows), this error message comes up
(( The query cannot be executed because some files are either missing or not
registered.
Run setup agian to make sure the required files are registered. ))
Then a windows comes up with an empty table. No data and no ... more >>
Connection Pooling
Posted by Julie at 12/7/2004 9:37:03 AM
Can someone tell me how to enable or disable connection pooling for SQL server?... more >>
How to dynamically name a #temp table in sql server 2000 ?
Posted by Karl XII at 12/7/2004 4:49:03 AM
Hi all!
I am having problem with a stored procedure in which I have an input
parameter that is dynamic. I want to use that parameter - in this case the
sessionid for the current user - to execute an SQL Query and store the result
in a temp table named as the sessionid.
For example...
... more >>
Question about upgrading SQL Server to newer version
Posted by dupat at 12/6/2004 5:54:02 PM
If I am running SQL Server 6.5 and own 25 licenses and I wish to upgrade =
to 2000 or 2003, are my licenses any good on the newer version?
I expect an upgrade fee but do I need all new licenses?... more >>
How to create a SQL database
Posted by Arvind at 12/6/2004 4:21:03 PM
dear all, I am new to sql, I have purchased a web hosting service which is
supported to SQL7 can you please tell me how to create a database on that
webserver, I have created a database in my local systems also let me know how
to export that database to my website server.
Your answer is ver... more >>
|