all groups > sql server mseq > november 2003
Filter by week: 1 2 3 4 5
Corrupt sql server
Posted by Don at 11/30/2003 5:33:11 AM
When booting my Windows XP computer I get the message "SQL
server is corrupt or has been ta,pered with". How do I
solve this problem?
Thanks,
Don... more >>
SQL Query Analyzer does not open
Posted by Someswar Barkataki at 11/27/2003 10:43:04 AM
Hi,
I am new to MS SQL server. I installed the sql server 2000 evaluation
edition on my PC( Windows XP Pro,SP 1). I can work with enterprise
manager without any problem but I cannot open the SQL Query analyzer.
When I click the query analyser ( either from start manu or from the
tools box of e... more >>
=> Unique Key incrementing by two and not specified 1
Posted by Rhonda Fischer at 11/26/2003 8:52:40 AM
Hello,
I have a simple database of two tables, one table
listing employees and the other a list of accidents.
Whenever I add an accident the unique key is incremented
by two when the 'Identity Increment' is set to one. Where
may I look to try and solve this problem.
Thank you kindly for an... more >>
Flag automatically converting int to varchar on insert select.
Posted by Renee at 11/26/2003 6:48:50 AM
Can anyone tell me where I can find the flag or setting
that automatically converts an integer value to a varchar
in an insert statement?
e.g.
Insert into mytable(CategoryID, ...)
Values (1,....)
Where CategoryID is a varchar(2) field.
This fails with the message
Server: Msg 245, Level ... more >>
SQL Server Collation
Posted by yaserco19 NO[at]SPAM yahoo.com at 11/25/2003 12:27:50 AM
I'm having a bit of difficulty adding Farsi in an SQL
Server Table. when I try to insert Farsi into the cell, I
get the infamous error: "The value you entered is not
consistent with the data type or length of the column."
I use MS Windows 2000 Advanced Server and MS SQL Server
2000 Ente... more >>
SELECT TOP %
Posted by Jeremy at 11/24/2003 11:31:49 AM
I am looking to select the top % from a subquery based on
grouped values. For example, I want to select the top 10%
of customers living in each state sorted by income in
descending order. The only way I could think to do it was
to put them in a temp table and run a separate query to
appe... more >>
backup
Posted by Paco at 11/24/2003 8:53:41 AM
Hi everybody:
I'm new in MSQL . I have programmed a backup task to make copy of master and
another database each 12 hours. The problem is that when i did it i didn't
ckecked the overwrite box, so the file increases everyday and i have to
delete it. I have tried to program another backup job wi... more >>
setup file for MS-SQL 7.0 and 2000
Posted by Akansha at 11/23/2003 10:26:15 PM
i would like to install MS-SQL 7.0 and 2000 in my PC. I
would like to know from which site can i be able to do so.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Deadlocks
Posted by Shihab.M.A. at 11/22/2003 11:59:23 AM
How can we solve the error caused by dead lock?... more >>
retrieving data from mssql
Posted by Obscurr at 11/21/2003 1:49:49 AM
when I query SELECT text FROM myTable, I only get a part
of the data in that column returned. When I look directly
into the table, I can see that there is more data there
than I retrieved.. The column is a 1000 long text. How
can I get all the data retrieved?
obscurr... more >>
Query Help
Posted by brian at 11/20/2003 8:55:21 AM
The following query contains a order header table and a
modification table that keeps track of all changes made
to the order header table. The modification table stores
the date and time a mofication was made. Also, the
modifcation table can have numerous records with the same
order numb... more >>
Unique records
Posted by Andy W at 11/20/2003 2:01:21 AM
I posted a question yesterday - pls see below - the only
problem I have now is that there are several records for
each order and I only want to receive one result per order
so that I can get an accurate count of how many orders
there are. Is there a way to only return one record per
order ... more >>
SQL question
Posted by Suhas at 11/19/2003 2:25:10 PM
Hello Everyone,
I have a question & maybe someone can help. I have a query
that looks something like this:
DECLARE @VAR_A char(4)
SET @VAR_A = ABCD
select * from TABLE
where TrSet = @VAR_A
However, when I run it, I get an error message:
Error:
Invalid column name 'ABCD'.
If I ... more >>
Inner Join
Posted by Andy W. at 11/19/2003 6:04:17 AM
Hi All,
I am trying to extract data from 2 tables. The problem is
that Table A and Table B do not share a common field to
reference on. However, Table A shares a common field with
Table C and Table C shares a common field with Table B.
Make and sense ....???
I have used the following s... more >>
Obtaining the last record
Posted by Newbie at 11/18/2003 5:36:08 PM
Hi
I want to select records where the amount of stock on hand is greater than
the amount allocated and then to value it with the last cost on the last
record in another table
EG
Cost Table
Date Cost
10/11/2003 1.00
14/10/2003 3.00
15/11/2003 ... more >>
SQL Server 2000 Evaluation Edition Release A
Posted by Rupali at 11/18/2003 3:39:20 PM
Hi,
I am trying to install SQL Server 2000 Evaluation Edition
Release A on my PC.
I need this for practising Microsoft Content Management
Server.
I downloaded SQLEVAL.exe from Microsoft site.
http://www.microsoft.com/downloads/details.aspx?
FamilyId=D20BA6E1-F44C-4781-A6BB-
F60E02DC1335&di... more >>
Query, function?
Posted by Newbie at 11/14/2003 4:38:56 PM
Hi,
My objective is to write a report for surplus stock valued at an average
cost.
avgcost = (sum(QtyonHand * UnitCost))/sum(QtyOnHand)
eg
stockcode 1
Bin 1 cost = 3 Qty = 10
Bin 2 cost = 5 Qty = 20
bin 3 cost = 1 Qty = 30
AvgCost = (3 *10)+(5*20)+(1*30) / (10+20+30) = 2.67
surplus... more >>
Split a select query in 4 quarters
Posted by Georges Vautherin at 11/14/2003 8:26:07 AM
hi
I would like to create a query which returns 1 quarter of the results at a time... lik
SELECT quarter 1 * FROM Tabl
SELECT quarter 2 * FROM Tabl
SELECT quarter 3 * FROM Tabl
SELECT quarter 4 * FROM Tabl
Is this something possible? How do I do it
cheers
Georges... more >>
English query project
Posted by John Ammann at 11/13/2003 9:21:53 AM
Can anyone tell me how to add additional tables to a
english query project. I have a simple project that
reference 1 table now I want to add more tables. ... more >>
what is this
Posted by Mike at 11/13/2003 6:52:45 AM
In my processes window I have a file called
sqlservr.exe. It uses 104,600 K of memory. What is this
file? Where did it come from? Do I need it? If not how
do I get rid of it?
thanks... more >>
Sql Command
Posted by Naresh at 11/13/2003 5:04:15 AM
I want See tables list in queru analyzer
i forget command send me fast... more >>
The column prefix 'GR1_01_uniek.rd_gr1_01' does not match with a table name or alias name used in the query.
Posted by Ezekiel at 11/13/2003 12:36:04 AM
How can i resolve this:
The column prefix 'GR1_01_uniek.rd_gr1_01' does not match with a table name or alias name used in the query.
Greetings,
Ezekiel... more >>
FW: See this important pack
Posted by Celeste Di Sabato at 11/12/2003 1:57:39 AM
Microsoft Consumer
this is the latest version of security update, the
"November 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three new vulnerabilities.
Install now to continue keepin... more >>
help with if then else
Posted by Newbie at 11/11/2003 3:37:47 PM
Hi
I have the following:
case when ROP.splitstatus = '3' then 'M/c Stopped'
when RRA.resid is null then ''
else ''
end as ActRes,
but this is not quite right what I want is
If ROP.splitstatus = '3' then
if RRA.resid is null then 'Machine Stopped'
else ''
How can I achieve this?
... more >>
RE: Taste the critical package from M$
Posted by Anndrea at 11/10/2003 11:08:19 AM
Microsoft User
this is the latest version of security update, the
"July 1999, Cumulative Patch" update which resolves
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to protect your computer
from these vulnerabilities, the mos... more >>
SQL Server 7 with Windows Server 2003
Posted by Kim Larsen at 11/10/2003 5:03:56 AM
Is it possible to run with a SQL Server 7.0 on a Windows
2003 Server PC ?... more >>
Syntax for Formatting data retrieved via SQL
Posted by Mendy at 11/9/2003 5:48:17 PM
In Access it was easy for me to retrieve data in any
format by including the Format function in my sql. For
example to Return a number padded with leading zeros where
the number could be anywhere from 1 to 3 digits long, I
would do the following:
SELECT Format(fieldNum,"000") AS PaddedNum... more >>
Date
Posted by Mehran at 11/8/2003 5:40:49 AM
Is there any function in SQL who can check if a date is
valid??? For example: 2003-12-31 is valid and 2003-11-31
is not.
Thank you for helping me... more >>
Changing Date Format in SQL
Posted by Ramin Sahafi at 11/6/2003 7:46:22 AM
Anyone could give me an idea, how can I change the French
SQL server Date format to accept American Date format?
I have installed a SQL French version and need to get
query based on USA Date version and it messed up.
I want to send query in MM-DD--YYYY
but this French version send ... more >>
Latest SQL service packs
Posted by jano at 11/5/2003 2:36:12 AM
Does anyone know of a website/newsgroup/any way or means
of keeping informed of exactly when new service packs and
hotfixes come out for SQL Server?
Especially after the Slammer virus i try and keep our
server completely up to date, but this is difficult
because i need to search the inter... more >>
FWD: Look at critical pack for Windows
Posted by MOURAGRO at 11/4/2003 12:47:36 PM
Microsoft Customer
this is the latest version of security update, the
"November 2003, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to he... more >>
problem displaying x/y as a percentage
Posted by Brad Martin at 11/4/2003 9:17:56 AM
I'm having a very frustrating time trying to display the
quotient of x / y in my SELECT statement. If the result is
> 1, it displays everything to the left of the decimal. If
the result is < 1, it displays a 0.
SELECT CAST(1/2 AS decimal(5,2)) AS MatchRate
The result of this operation i... more >>
Select date time values from a table
Posted by Jawahar Rajan at 11/3/2003 9:23:01 AM
All,
I have MS SQL 6.5 Database.
One of the tables is an audit table with a date time
column called time_stamp.
When I display the values for this column the data time is
shown as : e.g.
'Nov 03 2003 9:42AM'
If try and select the values for this row
as
Select * from trial_audit
where ti... more >>
Email Problem
Posted by Deepa at 11/3/2003 8:20:39 AM
I want to send a mail without the involvement of SMTP from
a stored procedure in sql server. Basically a specific
table will be read, records count will be extracted and
emailed to a hardcoded email address. Please tell how i
can go about it.
... more >>
Variables, scope
Posted by Ken at 11/2/2003 2:29:32 PM
Is there a way to create/update a connection scope
variable that I could reference from a trigger?
I have been using SUSER_SNAME() in a trigger that writes
field level audit records. Previously, I have been using
NT authentication to connect to the server, so the audit
records reflected ... more >>
SQL Server 6.5 sp_addlogin error
Posted by Ron at 11/1/2003 1:16:59 PM
Will having a period in a login name create a invalid
character error when adding name to database?
Example; previous login names that worked - navsea_jonesrb
name that will not work - navsea_ronald.jones... more >>
|