all groups > sql server new users > april 2005
Filter by week: 1 2 3 4 5
MS-SQL and MY-SQL
Posted by Remnant144 at 4/30/2005 9:52:02 PM
Can anyone explain the difference between MS-SQL and MY-SQL servers....As I
notice an outbreak of the network virus ref: Slammer.... ... more >>
MSDE: attach database help
Posted by DG at 4/29/2005 12:00:00 AM
Hi..
I'm very new to MSDE and I need to know if some things are possible to
do and how.
1). how to attach a database if I have a database file x.mdf and x.ldf
without using osql tool?
2). emmm.. maybe later... more >>
Can you upgrade SQL Server 2000 to SQL Server 2000 Enterprise?
Posted by Preoscott at 4/28/2005 12:20:04 PM
Using a Query to show just the month in of a date field
Posted by Steve Roberts at 4/28/2005 8:57:33 AM
I need to create a query to show the month as Jan, Feb ... instead of 1, 2.
Is there a way to do this?
This query works fine except I get the month number instead of Jan, Feb
SELECT emLastName, emFirstName, emEmployee, emHireDate, DATEPART(m,
emHireDate) AS HireDate
FROM dbo.... more >>
Does MSDE Support Replication?
Posted by AaronJ at 4/28/2005 8:38:03 AM
Hi,
I am looking at MSDE as an option but unsure if it supports replication like
SQL Server? Does it support all replication options as in SQL Server (e.g.
Merge)? If so, I would assume it would replicatable with another SQL Server
(from what I have read, MSDE is SQL Server minus the User I... more >>
Trial install
Posted by saintalan at 4/27/2005 1:33:11 PM
I am learning Visual c# and have bought a book called c# Evolution which
requires "any edition of SQL Server 2000", so I have downloaded the 120 day
trial. However the AutoRun does not work and I can not see how to install it.
The book offers no guidance, just says "open Enterprioise Manger a... more >>
What SQL Server Version Do I need?
Posted by AaronJ at 4/27/2005 12:57:59 PM
Hi,
I am unsure which version I need to purchase? I want to have the ability to
synchronize a remote server with a local server. Here are my specs:
Windows 2000 SP4
Management Console v1.2 SP4
C drive: 12G Total, 6G free
D drive: 90G total, 66G free
4 physical hard disks in a RAID confi... more >>
MSDE 2000 - Release A - Setup failed to configure the server
Posted by Samy at 4/27/2005 7:18:10 AM
I downloaded MSDE2000A.exe file from
http://www.microsoft.com/sql/msde/downloads/download.asp. I unzipped this
file. I used the following command in DOS window to install it.
setup SAPWD="g0612s" /L*V D:/MSDELog.log TARGETDIR="D:\" DATADIR="D:\"
But I end up with the following error messa... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
right in Enterprise Manager
Posted by isabca at 4/26/2005 1:14:03 PM
Hi,
In Enterprise Manager, I want some user to have access in all the DTS but i
don't want them to access table in the database. Can I do something like
that.
thank you
--
isabca:)... more >>
SQL server 2005 Beta
Posted by FVDB at 4/26/2005 9:34:03 AM
How do I index external files (documents not stored in the database) using
the full text possibilities in SQL Server 2005?... more >>
SQL Maintenance plan
Posted by DavidE at 4/26/2005 6:28:01 AM
I have a maintenance plan to backup my database and the T-Logs. When I go to
the directory were I set these to be backed up to I have the DB backups but
there are no .TRN files for my t-logs. any idea why my maintenance plan
wouldn't backup my t-logs... more >>
SQL DBO
Posted by DavidE at 4/26/2005 6:26:03 AM
I have created a database logged in with my domain admin account which is now
the dbo for my new database. I am trying to change the database owner to
another user account. Can anyone tell me the easiest way to change the
database owner?... more >>
Database information
Posted by Marcell at 4/26/2005 1:54:02 AM
Hi
I would like to display the following information in respect of a specific
database in one single report?
1. Database size
2. Number of tables
3. Number of rows in each table
4. Number of views
5. Number of stored procedures
Is there a stored procedure or command I can use to display... more >>
subquery help
Posted by r at 4/26/2005 1:05:58 AM
Following is code I've written to help sort my data on three fields, then
"rank" them based on the results.
select a1.dealercode, a1.dealername, a1.firstname, a1.lastname,
a1.region, a1.district,a1.groupsize, a1.promotionalprogram, a1.PPPPoints,
a1.OSOPoints, a1.TotalPoints, a1.completed_m... more >>
Setting up replication with access front end
Posted by John at 4/26/2005 12:00:00 AM
Hi
We have an access app (front-end+backend) running on the company network. I
am trying to setup replication for laptop users who go into field and need
the data synched between their laptops and the server upon return to the
office. I am planning it this;
Move all access tables to sql ... more >>
What-if scenario
Posted by winUser at 4/25/2005 7:41:17 PM
I am trying write an application that does what if scenarios. For example,
change a few parameters and draw a graph of how that would effect inventory
requirements for the next few months. I am new to SQL Server, so looking for
pointers on how to implement this.
Initially I was going to cre... more >>
sql service
Posted by docb at 4/25/2005 6:40:08 PM
i recently installed a program that uses msde/sql. how can i connect to my
sql server? i get a prompt that no service has been selected, where do i
select the service?... more >>
defining description field
Posted by r at 4/25/2005 1:46:53 PM
I need to add a description field in a table - the length of the field will
vary for each record. What is the best datatype and field length to use in
a case like this??
... more >>
Linked Tables via ODBC?
Posted by David Alger at 4/25/2005 12:00:00 AM
Hi,
I have some data in another database which I need to be able to query
periodically and import new records into my SQL Server database.
At present I've got an access project which has linked ODBC tabels from this
external database and from SQL Server and manages the transfer.
What I'... more >>
Newbie book
Posted by Bill M. at 4/24/2005 7:15:10 PM
Please make a recommendation for SQL Server 2000 for a beginner with very
little programming background. I need something for a raw beginner. Thank
you.
... more >>
Setting up replication
Posted by John at 4/24/2005 12:00:00 AM
Hi
I have just converted an access mdb app to an access adp app with msde
backend. I am very new to sql server. My question is how do I create
replication for a few laptop users who would like to take away the app for a
few days and when they come back would like all the new data (laptop & ... more >>
Calling a web service from a CLR SQL stored procedure
Posted by Krishna at 4/22/2005 11:15:01 AM
Hi,
I am trying to call a remote webservice from within SQl server using CLR.
However, SQL Server gives me an error saying that load(), loadModule() etc
are disabled. Of what I can tell, C# needs to dynamically generate and load
the XML serialization for the web service call. Does anyone kn... more >>
A database clone
Posted by juValdiv at 4/22/2005 10:57:49 AM
Is there a simple way to copy an entire database to another new one?
I need to copy my production database to another for training purposes.
Thanks for your help,
Juan.
... more >>
Display column name of forgien keys
Posted by VinayPM at 4/22/2005 1:14:02 AM
I am using SQL Server with Northwind database. My intention is to display all
forgien key references for a particular table.
declare @objname nvarchar(776)
declare @objid numeric
declare @cnstid int
declare @cnsttype char(2)
set @objname='Employees'
(select @objid=id from sysobjects wh... more >>
rebuild index vs drop/recreate index
Posted by Q at 4/21/2005 11:38:01 PM
Hello:
What is the difference between rebuilding index and dropping the index and
recreating it?
Any pros/cons in each?
Thanks,
Q... more >>
any pros and cons in rebuilding indexes
Posted by Q at 4/21/2005 6:00:03 PM
Hello:
We have a table that has 3 indexes: one clustered and two non-clustered
indexes. I am thinking to rebuild them, as some indexes may be corrupted.
In general, is there any pros and cons in rebuilding indexes?
Thanks,
Q... more >>
Distribute a database
Posted by Scott Osborne at 4/21/2005 7:49:11 AM
We have created a database in SQL Server 2000, and now want to distribute
this database to msde. Howe do we do this. First how do we get the
database structure on msde and how do we get the users into msde. Is there
any management tools for msde, like SQL Server/... more >>
How to empmty my log file
Posted by Jasmin at 4/21/2005 1:08:01 AM
Hello,
I am new here so I am sorry if this question is a little bit novice:)
Here is my problem, I am DBA with some 2 years expirience. I have an
database wiht FULL recovery model: Data file is for now about 800 MB, adn Log
file on separae disk is 1050 MB. So..I have my back up procedure ever... more >>
Query Permisions
Posted by foobar at 4/20/2005 11:55:22 AM
I want to write a statement to query object permisions in a database. How
do I do this. Thanks in advance for any help.
... more >>
Database on different versions of SQL
Posted by Machosker at 4/20/2005 8:00:05 AM
Hi,
I am hoping that someone can help me with a question. I could be being a
complete donkey, but my SQL experience is limited. I am working on a damage
recovery guide for my business.
We have a server running SQL 2000 Enterprise edition with a 30Gb database.
I am trying to find out if ... more >>
Database recovery
Posted by Julio at 4/19/2005 8:15:01 PM
Hi, I had a problem with one database. The hard disk of the server is damaged
but I could get the files mdf and ldf for the database. I don't have a backup
file, but I wonder if I can recover the database information with these two
files.
Thanks... more >>
what is "My sql server "?
Posted by roamin at 4/19/2005 4:59:02 PM
What is " my sql server"and why do I need it ?
--
like to be informed... more >>
Switching Hosting Companies
Posted by Ehayes at 4/19/2005 1:48:03 PM
This is very basic but so am I. I need to switch my database to a new
hosting company. I have never used sql but both my old and new hosts have
liscenses and will support existing databases but wont help me transfer. I
have downloaded the trial version and just need to make a back-up of the... more >>
executing a server control inside a function
Posted by Aneesh a at 4/18/2005 5:31:01 PM
i am asp.net developer with c#.recently i confronted with a p roblem that is
i want to execute a server control in side a script function ,ie when we are
submitting a page the 'onclick' function will call say 'saveform()'
function,Inside the
saveform() function how i can execute a code similar... more >>
Cannot replicate Northwind on SQL Server 2000
Posted by Dave Ingram at 4/18/2005 9:10:01 AM
Trying to replicate Northwind on the same server in SQL Server 2000. Keep
getting the message: [SQL Server Agent on "XXXXXXXXXXXX" currently uses the
system account, which causes replication between servers to fail.]
If I go ahead and enter the default when asked for a new system I get this... more >>
special characters like '[' or ']' in datarows
Posted by elime4x NO[at]SPAM hotmail.com at 4/18/2005 3:00:00 AM
Hi all
I am working on a mp3-Managment-tool with a SQL-Database.
I got into troubles with a few files that have '[' and ']' in their
filepathes or in any mp3-TagInfo.
When I do some queries on these files e.g
Select *
from Musikdatei
Where m_Dateipfad LIKE 'C:\Xavier-Naidoo - Ich kenne ... more >>
Selecting only rows without Nulls
Posted by J. B. Moreno at 4/18/2005 12:00:00 AM
I want to do something like:
SELECT * FROM table
WHERE * <> 'NULL'
Obviously I could do this on a field by field basis, but is there an easier
way?
--
J.B.Moreno... more >>
Linked Servers
Posted by Evan Camilleri at 4/18/2005 12:00:00 AM
I am trying to link to another SQL Server from Linked servers.
The problem is that I am seeing a lot of tables starting
dtPropertiesm
MSreplication_options
...
sysxlogins
But none of "my" tables. I am sure that users have full rights in both
servers and I even tried us... more >>
installing sqlserver2000 in WinXP
Posted by Aneesh a at 4/17/2005 8:08:02 AM
I am an asp.net developer using c# and working in Winxp and wanted to use
SQLserver2000 as back end ,while i am trying to install it shows amessage
that
only client components is possible to install.plz help me what ishould do to
install
the complete package... more >>
Installation MSDE
Posted by Jakub Cermak at 4/16/2005 7:37:02 AM
I installed MSDE 2000 with parameters SAPWD='ahoj' SECURITYMODE=SQL
Installation was OK, I enabled all networks protocols in SVRNETCN.exe and
restared server.
osql.exe -L found 1 server: (local);
But if I try to start osql.exe -U sa and write a password, osql says 'Login
failed for user sa'... more >>
enterprise evaluation to developer msSQL2000
Posted by ranger97 at 4/16/2005 2:06:01 AM
i installed msSQL2000 Enterprise evaluation and it is about to expire (120
days).
purchased msSQL2000 developers edition and need to know if i can somehow
just overwrite or whatever or if i have to uninstall dev. scary thought.
i tried by loading dev sever cd and it did not find my present... more >>
MSDE
Posted by Phil at 4/15/2005 3:01:01 PM
Hi,
I hope someone can help with this, I have just downloaded and installed a
copy of MSDE 2000, on the pre-text that it would be similar to a standard
edition on SQL Server, but this does not seem to be the case, after the
install all I seem to have ended up is with a new service in my com... more >>
update tables
Posted by Luiz Horacio at 4/15/2005 12:23:09 AM
Hi,
I'm having a big problem trying to create a query.
I have two tables as described below:
Table 1 Table 2
code code
col1 col4
col2 col5
col3 col6
col1 has the same kind of data as col4, col2 has the same kind of ... more >>
Inserting records between tables with different column sequence
Posted by danlin at 4/14/2005 3:46:01 PM
Can someone help me how to add records from one table that has more columns
to a table that has less and some column names not exactly the same. Is it
possible to use a select statement to accomplish this? Thank you for the
help.... more >>
nvarchar(max) return error
Posted by Tarkovski at 4/14/2005 1:27:47 PM
I am using MSDE2000A and in OSQL.exe I try this:
1> CREATE TABLE SomeTable (
2> tk_Code INT IDENTITY(1, 1) PRIMARY KEY,
3> tk_Text NVARCHAR(MAX)
4> )
5> go
Msg 170, Level 15, State 1, Server TARKOVSKI, Line 3
Line 3: Incorrect syntax near 'MAX'.
1>
What is ... more >>
nvarchar(max) not working
Posted by Tarkovski at 4/14/2005 1:23:10 PM
I don't know what I am doing wrong but this create error:
1> CREATE TABLE SomeTable (
2> tk_Sifra INT IDENTITY(1, 1) PRIMARY KEY,
3> tk_Tekst NVARCHAR(MAX),
4> )
5> go
Msg 170, Level 15, State 1, Server TARKOVSKI, Line 3
Line 3: Incorrect syntax near 'MAX... more >>
Transaction Log Getting Too Big
Posted by Joe Jax at 4/14/2005 11:28:40 AM
We have an data-intensive application that runs for several hours and
produces a huge amount of data. The problem is that the transaction log gets
very big very quickly and we have to frequently run a job to truncate,
backup, and shrink the log. However, when the job is running we get
connec... more >>
correct way to update live table
Posted by r at 4/14/2005 9:58:10 AM
I need to populate many fields in a column of a table, now that I have the
information that goes there. I can't repost the entire table with the new
data because the table is now live, underlying a website, and new records
are being added regularly. Some who are only slightly more experienced t... more >>
Problem to check for identical
Posted by Adam K at 4/13/2005 6:13:19 PM
Hi friends,
First of all sorry for my english.
I'll be very happy if someone can help me.
I am doing web page with vb.net and sql server, the problem is with
registration.
I am using user name and password which the user can set. The problem is
that if I already have user with user n... more >>
need IsNumeric help
Posted by r at 4/13/2005 3:42:31 PM
Sigh.
I am creating a View, and in it I need to calculate the values in two
columns as another column. Before I run the calculation, however, I need to
make sure one of the values is not 0, null, or empty. I'm having trouble
figuring out how to do it, though. The field I'm testing is "money... more >>
|