all groups > sql server new users > february 2005 > threads for february 1 - 7, 2005
Filter by week: 1 2 3 4
creating a table from a select statement
Posted by Jose at 2/7/2005 6:14:45 PM
Hi,
how can i create a new table from a select statement? i use select into, but
my select query has case columns and query analyzer says that i did not
specified a column for them. how do i do it?
thanks in advance for your help
... more >>
Incorrect syntax near '-'. Error in osql
Posted by John Smith at 2/7/2005 4:00:19 PM
I have created a batch file in Visual Studio .NET.
It's like this:
osql -S %1 -d %2 -U %3 -P %4 -b -i "dbo.Sun_Report.prc"
Sun_Report.prc is a UNICODE file.
When I run the batch it throws this error
1> 432> Msg 170, Level 15, State 1, Server PLWIL-ARCHIBUS, Procedure
Sun_Report,
Line 18... more >>
Creating a User Define Function to Get Necessary Date Format
Posted by gibbonsd at 2/7/2005 2:13:04 PM
I am working on creating a function to modify my Calendar Date Format. SQL
have several Date formats but not the one I need.
The date format I need is 01-AUG-2005 but I can not seem to get it fully
working. The date format I am converting from is 08/01/2005 and converting
to 01-AUG-2005.
... more >>
Enterprise Manager job scheduling
Posted by JoeDz at 2/7/2005 1:01:08 PM
How do I found what jobs have previously been scheduled for a database.
I see the Tools - Job Scheduling option,
but now an option that shows me what has been created and scheduled.
Thanks.... more >>
BCP help
Posted by Paul Glickenhaus at 2/7/2005 11:45:04 AM
I have a txt file with about 400,000 rows of data. I need to import this
data into SQL 2000. Is BCP the way to go? Is there any special format the
file should be in. Is there a sort of BCP for Dummies documentation to help
me?
Paul... more >>
Hide tables in SQL 2000
Posted by smeagol at 2/7/2005 10:31:01 AM
Hi, how can i prevent the access to my tables in sql 2000.
... more >>
How to Download Remote SQL Server Database to Desktop for Development (Desktop Has MSDE & Visual Studio .Net)
Posted by TC at 2/4/2005 7:19:53 PM
Hello All,
I apology for posting to many groups but I wasn't sure which group would be
best targeted with my question.
I have inherited an ASP.Net application that requires some maintenance & bug
fixes. I have been asked to also download a copy of the remote SQL Server
database that it ... more >>
Caught in a Dead end problem
Posted by Malik Asif Joyia at 2/4/2005 3:12:23 PM
Hello
kindly tell me that is there any way to update a table in a user defined
function
I want to execute a Update Command in the Function .
Plz help me as soon as possible
Thanks
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
SQL Query Woes - Please Help
Posted by Dale Palmer at 2/4/2005 1:00:00 PM
I'm having trouble trying to get a Select Statement working, my current
statement is attached below.
I have two tables: Table one (tblProducts) is product description & Table
two (tblExtraProd) is a list of ingredients for each product.
I need to be able to select and ingredient that needs t... more >>
Linked servers
Posted by Nishu at 2/3/2005 8:47:04 PM
There are two servers. One local second linked but SQL Server.
In local server linked server is registered.
From enterprise manager we can access tables on this linked servers. Also
from Query Analyzer we can access table of given database on linked server.
Local login 'sa' is mapped for this l... more >>
SQL Connectivity
Posted by Evan Camilleri at 2/3/2005 5:23:27 PM
Hi all,
I want my application's Installer to automatically install the SQL
Connectivity on machine in which the Connectivity does not exist. For this i
require a Stand-Alone installer (to be called from my Installer if
connectivity is not found).
Do you know if there exists a Stand-Alone C... more >>
Automated restore
Posted by Alan at 2/3/2005 11:23:25 AM
Anything like automated restore ?
For example, I have scheduled the full backup on Sunday night, incremental
backup on weekday 8 pm, and transaction log backup every 4 hours everyday.
What kinds of restore should I set up ?
... more >>
Information about sp_helprotect
Posted by Patrick at 2/3/2005 8:21:03 AM
Please I need with some urgency...
Information about sp_helprotect (function, syntax, examples)
Thanks in advance for your soon answer..!
Patrick... more >>
restore msdb on different SQL Server instance
Posted by Geert Vanhove at 2/3/2005 4:37:07 AM
Hi,
we recently had to restore the msdb database on a different instance. Now I
can't change the SQL jobs. I receive an error 14274 because SQL Server
regards the SQL job as originated from an MSX server. What can I do (except
manually make modifications to msdb) and what should I do in the... more >>
are two servers on same segment possible?
Posted by .:mmac:. at 2/2/2005 3:31:01 PM
This is probably simple from someone's perspective but I would hate to find
out that this is a bad idea the hard way.
I am hoping to set up a second SQL server to tinker with ,using the
database from a backup of the production server, but I don't want to take
any chances with fouling u... more >>
scheduling backups
Posted by Daniel Rimmelzwaan at 2/2/2005 11:48:37 AM
Hello all,
I want to know where I can retrieve my backup schedule so I can chenge the
schedule.
Here's what I did:
- in Enterprise Mgr, rightclick the database, select backup database from
the all tasks list
- click the add button, enter file path
- check the schedule box, click the ell... more >>
[SQL-DMO] CreateFile error
Posted by Evan Camilleri at 2/2/2005 1:01:45 AM
From Enterprise Manager I get
[SQL-DMO] CreateFile error.......
Whenever I try to Generate SQL Script!!!
Why??
Evan Camilleri
... more >>
Installing sp3 fails
Posted by HÃ¥vard Olerud Eriksen at 2/1/2005 4:00:19 PM
When trying to install sp3 on an SQLserver2000 the installation program just
tells me that there is no SQLserver installed on the computer and then just
quits. I know for a fact that there is an instance of the server installed
so that's not the problem. Is this a known issue and if so, how do I ... more >>
Substitution in select
Posted by Vas at 2/1/2005 2:21:07 PM
How do I substitute a variable in select clause and from clause in select
statement. SQLServer 7.0
ex.
Select Variblename from Variablename
should expand to
select col1 from table1... more >>
SQL Server SP4 chat
Posted by Stephen Dybing [MSFT] at 2/1/2005 2:05:27 PM
February 15th, 2pm Pacific Time
http://www.microsoft.com/technet/community/chats/chatroom.aspx
Join members of the SQL Server development team as we discuss what's coming
up in SQL Server 2000 Service Pack 4.
See http://www.microsoft.com/technet/community/chats/default.mspx for more
infor... more >>
Two table in report?
Posted by chang at 2/1/2005 1:29:09 PM
Is it possible to use 2 tables in the same report with different dataset, but
able to pass one field as parameter from one table to the other one?
For example I have one table that has the field ITEM_ID and SALE. I have
another table that has the field TOTAL_COST. I want to use the ITEM_ID ... more >>
Automation in SQL server.
Posted by Ashraf Kazmi at 2/1/2005 12:47:02 PM
I would like to Run a SQL Server 2000 Stored Procedure in Nightly basis
(Every Night) to updates few records based on Criteria On windows 2000 server.
Please forward me the steps and commands to be follow, to schedual a SQL
Server Procedure through Scheduled Task in windows.
Thanks in Advance,... more >>
|