all groups > sql server (alternate) > january 2006 > threads for january 15 - 21, 2006
Filter by week: 1 2 3 4 5
ODBC Connection to a linked database
Posted by listrecv NO[at]SPAM gmail.com at 1/21/2006 11:15:36 PM
I'd like to set up an ODBC DSN to a table in a linked SQL Server, via
my local SQL Server.
I'm having a few problems:
1. When I use Enterprise Manager to link the remote SQL Server, it
doesn't allow me to select the database in the remote server. It only
shows one database.
2. When I use ... more >>
Want to be able to create or view database diagrams
Posted by teedilo NO[at]SPAM gmail.com at 1/20/2006 12:03:18 PM
Our MS SQL (SQL Server 2000) DBA has database privileges locked down
pretty tightly. We end users/developers do not have administrator
privileges for most databases. That arrangement has worked out OK for
the most part. However, it's a bit aggravating that we can't even
create our own databas... more >>
Conditional Column Name On Insert
Posted by cavassinif NO[at]SPAM gmail.com at 1/20/2006 11:49:20 AM
I need to dynamic select a column in which insert a vale based on a
parameter value, I have this code, but it throws an incorrect syntax
error.
How do I dinamically select a column to insert based on a parameter?
Create PROCEDURE dbo.UpdateDetalleOT (
@eotId int,
)
insert into OT (
... more >>
remote permissions
Posted by Adamo at 1/20/2006 9:37:17 AM
Hi,
I have a few users (user1, user2...) I want give user1 remote acces
possibility , and deny remote access users: user2 & su. May I also give
acces ony one ip - How may I do it?
Greetings... more >>
Linked Server setup - SQL 2005 RTM
Posted by RandyMartin at 1/20/2006 9:18:02 AM
<<cross posted from microsoft.public.sqlserver.server>>
Environment: Windows 2003 Standard Edition SP1, SQL 2005 EE RTM (both
servers)
I am getting the following messages when I run this query:
select * from LINKEDSERVER.databasename.dbo.tablename
OLE DB provider "SQLNCLI" for lin... more >>
Reporting Services
Posted by weirdscientist78 NO[at]SPAM gmail.com at 1/20/2006 8:05:12 AM
I was trying to install Reporting Services on Windows Server 2003. but
it seems to need Visual Studio .Net 2003 installed.
I just can't download .Net 2003 anywhere.is it any different than
Visual Studio .net?
is there another way to install Reporting Services for SQL Server 2000.
we canno... more >>
Question about converting bigint field to int field
Posted by mamorgan1 NO[at]SPAM gmail.com at 1/20/2006 6:52:55 AM
We made a poor decision a long time ago when designing our database
structure. We used bigint data types as the identity keys for many of
our base tables. For many reasons I would like to change these fields
to int at the largest. The largest data in these fields is around
200,000. I know th... more >>
Link to DB2
Posted by robertino at 1/20/2006 2:01:21 AM
Hi all,
I'd like to know what the best means available is to enable distributed
queries from a SQL Server 2000, on tables in BOTH SQL Server 2000 and a
remote DB2 server (the latter is not yet available for testing).
So, I would be wanting to write queries or SP's like:
select t1.field1, ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Server Feedback
Posted by klara at 1/19/2006 11:54:13 AM
I haven't touched MSSS in a looong time
When a SELECT returns say 3 rows what does the feedback say ?
(eg Oracle/sqlplus says "3 rows selected")
What if "no data found", what is the feedback ?
thanks
... more >>
This query must be easy but need help
Posted by gwhite1 NO[at]SPAM kc.rr.com at 1/18/2006 9:12:29 PM
I have a table like this:
Name, SSN
Joe Smith, 1111
Tom Why, 2222
Larry Sam, 3333
Paul Tom, 4444
Steve bob, 1111
I want a query to pull off
Joe Smith, 1111
Steve bob, 1111
because someone accidently put in two different names with the same
SSN. There should only be one 1111 in the... more >>
Help wanted msaccess PIVOT-query --> MS-SQL view/sp
Posted by Gert v O at 1/18/2006 7:49:49 PM
Can someone help me parsing this ms-access PIVOT sql-statement to a
ms-sql-server sql-statement?
Many thanks in advance
TRANSFORM Count(KlantenStops.id) AS AantalVanid
SELECT KlantenStops.Uitvoerder, KlantenStops.Klant
FROM KlantenStops
GROUP BY KlantenStops.Uitvoerder, KlantenStops.Klant
... more >>
New job opportunities
Posted by Radhesh Reddy at 1/18/2006 2:02:35 PM
One of our clients is in need of following requirements .
OM Designer:-
Location: Mountainview,CA
Duration: Long-term
Startdate: ASAP
No of positions: 6
Skills
8 years of experience
Strong Functional Skills in Order Management and Distribution Modules.
Atleast 3 Implementation ex... more >>
Advanced Data Shaping - Multiple Relate clause
Posted by doar123 NO[at]SPAM gmail.com at 1/18/2006 1:53:53 PM
Hello,
I'm using a shape query, but instead of using a simple clause "RELATE
field1 to field2" (relates the parent to the child), i wan't to use 2
relates. somthing like "RELATE field1 to field2 AND field3 to field4".
I want to receive in the children RS only the records who apply both
cond... more >>
Querying joined tables with 0 results
Posted by commanderjason NO[at]SPAM gmail.com at 1/18/2006 11:44:39 AM
This seems like a very simple question but i have never been able to
find an easy answer to it.
I have a user table and i do a join with another table, we'll call the
other table a results table.
The results table has numerous rows with the userid foreign key.
I want to make a query tha... more >>
newbie question on SQL frontends
Posted by Driesen via SQLMonster.com at 1/18/2006 11:28:22 AM
Hi all
Can anyone tell me where I can find any information on using HTML as a user
frontend to a SQL 2000 db?
Thanks in advance
Driesen
--
Message posted via http://www.sqlmonster.com... more >>
Can I use stored procedures with PHP via ODBC bridge?
Posted by gene.ellis NO[at]SPAM gmail.com at 1/18/2006 10:46:59 AM
Hey Everyone,
I am a stored procedures newbie, so I wanted to ask if it is possible
to use them with PHP via an ODBC-ODBC bridge connected to a MS SQL
server. I am simply use the commands from the php odbc library to
connect and execute the SQL commands, I am trying to avoid building
dynamic ... more >>
Problem ith DTS and delimited file with empty last column
Posted by Thomas R. Hummel at 1/18/2006 8:44:08 AM
Hello,
I'm not getting any response to this on the SQLDTS newsgroup, so I
thought that I would try here:
I just ran into this problem and I can't find any other mention of it
through Google. I have a text file that is comma-delimited. It also
uses double quotes as text identifiers. A new co... more >>
how to get tables involved in constraint
Posted by Sam at 1/18/2006 8:15:18 AM
Hi,
The following request select a constraint from TABLE_CONSTRAINT with
the name specified in the where clause:
select * from INFORMATION_SCHEMA.TABLE_CONSTRAINTS where
constraint_name = 'FK__51OtherParties__51Claims'
It returns:
http://graphicsxp.free.fr/constraint.JPG
So I have TAB... more >>
splitting a comma seperated column into multiple rows
Posted by Hennie7863 at 1/18/2006 3:06:08 AM
Hi i want to create a table as follows :
if exists (select * from dbo.sysobjects where id =
object_id(N'[Indexes]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [Indexes]
GO
Create table Indexes(indexname Varchar(100), index_Description
Varchar(100), index_keys Varchar(100))
GO
... more >>
Audit Logon / Audit Logoff problem with SQL 2K
Posted by Oscar Santiesteban Jr. at 1/17/2006 7:59:16 PM
I need help...here is the problem.
Last weekend, the servers in our datacenter where moved around. After this
move, and maybe coincidental, 1 server is performing very poor. After
running a trace with SQL Profiler, I saw the problem which was later
confirmed with another tool for SQL server ... more >>
DTS Failed To Run
Posted by fatihmira NO[at]SPAM hotmail.com at 1/17/2006 7:41:11 PM
Hi all,
I have almost 50 DTS and its was scheduled run daily at a specific
time. Since last week all the jobs was failed. Error "The process could
not be created for step 1 of job 0x43434...... (reason : The system
cannot find the file specified). The step failed.". The jobs was run
find befo... more >>
To Create Unique table names and access them in code...
Posted by adi at 1/17/2006 12:08:34 PM
Hi all,
My program is a central data processing application built in ASP.
We have different companies that use different web pages on another web
application (from different countries) to load some inventory data
(merchandise - clothes).
Here is my requirement: Load different types of dat... more >>
database migration
Posted by ben at 1/17/2006 10:48:32 AM
Hi,
I wonder wether a software or a device (or script) allowing to migrate data
from an existant database to a new database by using correspondant ODBC
drivers existed.
Thanks for your help.
... more >>
ODBC in Stored Procedure
Posted by Pumkin at 1/17/2006 9:56:10 AM
Hey guys,
I'm trying to get the column names from a table to which I'm connected
through OBDC. I don't want to use linked server. I get my data with
Openrowset.
I found the SQLDescribeCol and SQLColumns ODBC functions.
Can anybody tell me how to use those functions in a SQL Server stored
pro... more >>
Variabe Error
Posted by Cecil at 1/17/2006 8:14:12 AM
I get this error:
Msg 137, Level 15, State 2, Line 2
Must declare the scalar variable "@DBName".
W/ this code:
--Constants
DECLARE @DBName varchar(20);
SET @DBName = 'Base';
GO
--Create & Use Database @DBName
USE master
GO
if exists (select * from sysdatabases where n... more >>
system information about indexes
Posted by Hennie7863 at 1/17/2006 5:09:44 AM
Hi,
Is het possible to find information about indexes in SQL Server 2000?
Information like pad index, fill factor, index fields, SortinTempdb?
Gr,
Hennie
... more >>
Facing Problem
Posted by VU2LOC at 1/17/2006 2:29:37 AM
Well I am the MS-SQL user I always face the problem in my application.
After some time my application stop working goes in to the not
responding stage. Then I have to KILL some session which are SPID > 51.
After this my problem is getting resolved after this I can able to
create new sessions. ... more >>
osql batch processing without -i
Posted by dphillip79 NO[at]SPAM comcast.net at 1/16/2006 6:44:19 PM
Hi,
I have just started using MSSQL and the DOS environment at work. I have
a lot of experience with Sybase and the UNIX environment, but this is a
whole new ball of wax.
I'd like to use osql from a batch file to log into the dataserver and
run a fairly long list of SQL and then exit. ... more >>
Truncated Decimals
Posted by orandov NO[at]SPAM gmail.com at 1/16/2006 1:55:00 PM
I am relatively new to SQL server. I am tring to send some decimal
values to the database using a stored procedure with parameters of type
DECIMAL. Every time it inserts the values into the database the
decimals are truncated. I saw on the MSDN library that you have to set
the precision and scal... more >>
Newbie
Posted by Mad at 1/16/2006 6:55:55 AM
Hello everyone, am new to databases. Started of learning SQL on my own
and using SQL Server 2k... any pointers from ya'll abt my approach...
got familiar with some basic stuff abt SQL and SQL Server.. hope all of
you would gimme good suggestions..
... more >>
question on inserting a record on sql server with identity column as key
Posted by Hongyu Sun at 1/15/2006 7:18:50 PM
Hi, All:
Please help. I use sql server as back end and Access 2003 as front end
(everything is DAO).
A table on SQL server has an identity column as the key.
We have trouble on adding records to this table using the following SQL.
strSQL = "INSERT INTO myTableOnSQLServer (A, B, C, D, E)... more >>
Does SQL Server save any metadata in registry or home folder?
Posted by nospam NO[at]SPAM nospam.sss at 1/15/2006 9:19:31 AM
I have my SQL Server installation on drive c: and the databases on another
drive. My c drive got corrupted and I am planning to restore it from an old
backup. This means drive c will not be up to date.
Is there anything that SQL Server saves in the registry or in its home
folder that changes f... more >>
|