473,543 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Microsoft SQL Server Forum

Microsoft SQL Server database RDBMS - Ask questions about MSSQL administration, queries, errors, xml, data access, transact-sql, tools, mirroring, integration, setup, stored procedures, merging and more.
5
8,575
thread by: adrian | last post Jul 20 '05 by: Erland Sommarskog
hi all this is my first post to this group, so pls bear with me while i try to make some sense. i am trying to create a sproc which uses dynamic sql to target a particuar table eg. '.' and perform some actions. i am using @tableID as a passes parameter for the sproc.
1
2,073
thread by: sreenivasa | last post Jul 20 '05 by: clockworkoi
i wanted to restore user DB from one sql server to another sql server , one database is having so many table and have user called digi he is created so many SP and some tables., when i restore the db it restored without any problem., after restoring application is not working how to ensure that restored DB is having same security as the...
3
22,099
thread by: dinesh prasad | last post Jun 30 '06 by: gour_sanjeev
I'm trying to use a servlet to process a form, then send that data to an SQL server stored procedure. I'm using the WebLogic 8 App. server. I am able to retrieve database information, so I know my application server can talk to the database. I've determined the failure occurs when the the following statement is executed: cstmt.execute(); (due...
1
49,802
thread by: Girish | last post Jul 20 '05 by: Oscar Santiesteban Jr.
I need to run a query which will pull data from two tables and append it as one when it displays the result. The data are in two tables. But the result set will be identical in terms of number of columns. I want to display it one set below the other. This is for pay history. From 2003 we have a new payroll system. Till 2002 we used to have...
2
90,353
thread by: Grace Gu | last post Jul 20 '05 by: John Bell
Hello: I'm new in the SQL server world. But I need to copy one SQL database on machineA to machineB. By looking at the tool bar, I think export will do the job for me, is anybody can provide the detail info? DO I need to create an empty database on MachineB first, any documentation repository I can read and learn? Thank you so much!...
1
3,711
thread by: Devin McMahon | last post Jul 20 '05 by: Simon Hayes
I cannot seem to find a group where this question would fit so I am posting it here. I have what I believe is a unique situation. I am using SQL Server Analysis Server to build a cube of "snapshot" month-end type of data. This data is from an instance of Microsoft Navision and I have successfully used SQL-DMO and DTSPackage Library objects...
2
7,272
thread by: Theodore Feldman | last post Sep 13 '05 by: takahe
If connection properties and global variables are set from an INI file, how can a DTS package be made truly portable? If the INI file pathname is hard-coded in the package, it must be edited when you copy the package to a new environment; otherwise your packages in multiple environments will all reference the same INI file. If there are...
3
1,821
thread by: Craig Jennings | last post Jul 20 '05 by: John Bell
Hi Everyone, I've got a question and I think the answer can be a single SQL statement. In fact, I think I might've done this before, but I can't find the SQL. I've got a table with names and different bugs and status ids. I'd like to get a query that totals the various statuses. For instance, the table is Name bugid status Jeff 12 open
0
1,834
thread by: RRoberto | last post Jul 20 '05 by: RRoberto
Goodmorning, I can't connect to a DbServer in my Lan ,because the server gives me an error ,"not trusted connection" when i try to connect with an account predefined. Could you give me some hints? Thanks Roberto
3
2,580
thread by: mike | last post Jul 20 '05 by: n0t999
If I copy a Database backup to a CD; can I resotre to a different server? Thank you
1
1,901
thread by: sh | last post Jul 20 '05 by: Garry
Hi. I am quite new into stored procedures written in t-sql. (MSSQL server) I have three different tables in my DB. Two of the tables (with different data) are updated regularly and need to be joined into a third table that works as the basis for an application in ASP. The two former tables each contain a field with a persons identity...
0
1,536
thread by: Lopez | last post Jul 20 '05 by: Lopez
I have a backup of database from work. In home I don't have this database on my server. How to resore it in home? It is possible? (In work I don't have permission do backup database) And finally what will be with permissions? If in work I have permision to read only. If I restore this database at home, will i have the same permission or I...
2
4,247
thread by: rocky | last post Jul 20 '05 by: Stefan Gustafsson
We're building a company wide network monitoring system in Java, and need some advice on the database design and tuning. The application will need to concurrently INSERT, DELETE, and SELECT from our EVENT table as efficiently as possible. We plan to implement an INSERT thread, a DELETE thread, and a SELECT thread within our Java program. ...
4
3,154
thread by: S G | last post Jul 20 '05 by: John Gilson
HI all, This has puzzled me all morning. I have a int field which reads 19691124 (UK dates) this is actually a date 24 November 1969 I need to add 28 years to this making it 19971124 but I’m stumped! Any ideas anyone? Cheers Sean
3
1,792
thread by: Sander Janssen | last post Jul 20 '05 by: Sander Janssen
Hello, I have this peculiar problem concerning MS SQL Server. My company works with an mailing application (ASP) which uses SQL Server as it's repository. What I want to do is send data directly from my own application to this SQL Server in order to feed the mailing application. To test if this was possible I linked the tables from SQL...
0
1,395
thread by: Elham GH | last post Jul 20 '05 by: Elham GH
In propery page of view there is option "Bind to Schema" ,What does it mean and how does it work? Second:What is schema exactly? Thanks
4
1,843
thread by: Versteijn | last post Jul 20 '05 by: Erland Sommarskog
Hello I have a case where Partners are some kind of Super-Users and are stored in a SQL Server database. Best is IMO to put both in the same table: table Customers: CustomerID PartnerID
2
6,507
thread by: New DB Admin | last post Jul 20 '05 by: Erland Sommarskog
Is it a good thing to do? what are the cons? Are there any risks? (this is an ISP database running 24 hrs) I have sql 6.5 on Win NT with 256 MB Ram (64 MB reserved for SQL Server). tempdb size is 10 MB. Currently i'm experiencing slow response for large queries and sometimes users have problems logging on the internet (authentication stops). ...
0
2,906
thread by: rjp | last post Jul 20 '05 by: rjp
Hi, I am using a SQLServer 7 SP4 version. I have scheduled one job with the SQLServer agent which backup the log of the databases every day. The command is : "backup log base to with noinit" At the end of the command, the logfile shrink from 20Mo to 1Mo. I don't understand because I though that only 'backup log with
0
3,287
thread by: BAK | last post Jul 20 '05 by: BAK
From reading other posts, and modifying supplied scripts we have a CS server. Our new software package seems to need a CI database. The software developer says SQL is not case sensitive and our SQL must be broke. So ... How do I create a new database with enterprise manager with CI? We are running MS Windows 2000 Server for...
1
3,262
thread by: erin | last post Jul 20 '05 by: Erland Sommarskog
When I run: select * from testtable I get this error message: Invalid object name 'testtable'. However, if I run: select * from testuser.testtable
1
1,943
thread by: Mike Brown | last post Jul 20 '05 by: Erland Sommarskog
What methods are people using out there to keep their stored procedures under CM control? We are using CVS for our CM system. Looking for an easy way to get stored procedures scripted out as text so we can check in/check out of a CM system. Thanks! -- Mike Brown
1
1,635
thread by: Fardude | last post Jul 20 '05 by: Erland Sommarskog
Hi, I had this problem in version 7 and dont remneber How I solved it!! I have installed a local SQL Server (2000 aka version 8) on my Worksation (W2K), I have picked NT authuntication. Everything was fine untill I changed my password. Now SQL server can not start because it fails to login. The old password is embedded somwhere and I cant...
3
11,001
thread by: Rathtap | last post Jul 24 '06 by: mgran
A format file provides a way to bulk copy data selectively from a data file to an instance of SQL Server. This allows the transfer of data to a table when there is a mismatch between fields in the data file and columns in the table. I take it this assumes the number of fields in the data file will always be constant. What if it is not? My...
1
2,580
thread by: Binu Jacob | last post Jul 20 '05 by: Robert de Jager
Hi; I need some help in writing a query and the following is what I am trying to do. SELECT VALUE_ID FROM CC000.VVALIDITYVALUE WHERE (CATEGORY_ID = 2) The above Query will give will every Value_ID where the Category_ID =2. Then

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.