all groups > sql server (alternate) > may 2007 > threads for may 8 - 14, 2007
Filter by week: 1 2 3 4 5
/usr/sbin/mysqld: unknown variable 'expire_logs_days=10'
Posted by sebastien NO[at]SPAM willemijns.com at 5/14/2007 11:04:23 PM
hi,
i have used apt-get upgrade from a debian sarge and a paquet
add "expire_logs_days=10" line in my.cnf, i have uncomment
this line and now mysql works well.. i'm surprising not all linux
users have this trouble...
... more >>
Database Owner cannot connect
Posted by mplpost NO[at]SPAM yahoo.com at 5/14/2007 10:05:01 PM
Our web application requires that when a new Organization is created,a
separate Database is to be created for the corresponding organization,
so that each organization remains a separate entity with their
corresponding employees(This is our clients requirement, so that they
can later provide the... more >>
TRIGGER after UPDATE
Posted by Wojto at 5/14/2007 6:47:23 PM
Hi there!
I need to write a trigger that will check referential integrity of my
data. I have few FOREIGN KEY constraints but, as You probably konow, the
cannot be deferred (in the meaning of SQL 92 standard). So I decided to
add NOCHECK CONSTRAINT ALL to the modified table and then run a trig... more >>
Want to make ''Get Latest Status'' function more efficient
Posted by Mark at 5/14/2007 8:02:50 AM
Hey folks, I'm looking at making the following query more efficient
potentially using the ranking functions and I'd like some advice from
the gurus. The purpose of the following is to have a status for a
person, and also have a historical background as to what they've done,
status wise. This w... more >>
UNION SELECT from Multiple Subselects
Posted by nullGumby at 5/14/2007 7:29:50 AM
I'm trying to get a UNION of UserIDs from multiple subselects. The
original query--which puts all the found UserIDs into separate
columns, looks like this:
--------------------------------------------------------------------------------
SELECT
tmp_MY_TABLE_2_3_4.LAST_UPDATED_USER_ID AS User... more >>
Run same query for each day across a date range?
Posted by Gooseman at 5/14/2007 1:53:24 AM
Hi,
I have a query which works for one day:
SELECT SOME_COL AS something, SOME_COL2 AS something2 FROM myTable
WHERE DATE = '2007-05-11' AND SOME_STAT > 1
Returns
something something 2
1 2
3 4
How do I get this to work for a date range (e.g. DATE > '2007-... more >>
Match field and return to "1"
Posted by neolempires2 NO[at]SPAM gmail.com at 5/13/2007 4:03:59 PM
hi..i'm new in sql progaming,
i try to make make a query that in table field "match" return to "1"
if no member record in another table and return to "0" if there is any
record member :
ex
table member:
member id
A 12
B 14
Table Incoming.
membe... more >>
Help parsing field
Posted by neolempires2 NO[at]SPAM gmail.com at 5/12/2007 5:49:25 PM
hi..i need help for my exam, I retrived data from my sms inbok and
insert to table.The record just like this:
ID1,12x100,56x12,90x90..,how to pars the table in to:
ID First Second
ID1 12 100
ID1 56 12
ID1 90 90
Thank for your help...
=================... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Reading SHOW_PLAN output
Posted by bbcworldtour NO[at]SPAM hotmail.com at 5/11/2007 5:17:28 AM
(Pardon me for asking a very basic question. I have come back to SQL
Server after five years of Oracle, and my memory is a tad rusty).
I have a bit of SHOW_PLAN output that I believe that I understand, but
I would appreciate your comments if I am wrong.
I have a requirement to produce a list... more >>
How does UPDATE statement work?
Posted by kdpo at 5/10/2007 10:41:22 PM
Could someone tell where I can find out if it's true that during
UPDFATE SQL Serve deletes data from table, and then inserts new one.
Thanks
-A
... more >>
PROBLEM using CharIndex(), IF, OR etc- PLEASE HELP
Posted by matthewwhaley NO[at]SPAM gmail.com at 5/10/2007 4:09:56 PM
What is the best way to essentially use the charindex(find) function
if the value is could be more than one variable (A or B or C)
I can't seem to get an "or", "if" or "select if" to work
Below is the code that works, I need 'GOV' to be either 'GOV' or 'FWD'
or 'LIB'
sqlstring = "... more >>
Last Day Of Previous Month...with a twist
Posted by brymcguire NO[at]SPAM googlemail.com at 5/10/2007 2:35:43 AM
Hi,
I have a requirement to design a query that identifies items sold
between two dates. There is a 'SoldDate' datetime field used to
register what date the item was sold.
The query needs to identify all sales between the last day of the
previous month and going back one year.
What I... more >>
How Import XML file in a table with trigger.
Posted by M6C at 5/9/2007 3:55:54 PM
Hello,
I'm trying to import a Xml file in a table.
It's working find, but when the data are inserted, my trigger on this
table doesn't work ?
I put my code below.
Best regards
Thank's
David
Xml file :
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<RTAVIS>
<FIL... more >>
Narrowed Down Search
Posted by Looch at 5/9/2007 12:33:35 PM
Hi All,
I'm trying to write a query that gets more granular as criteria is
available. for example:
select name where A is true, B MIGHT be true and C MIGHT be true.
Is that possible? The idea is that the more information available the
smaller the size of the dataset.
Thanks for any inp... more >>
Authentication issue
Posted by M K at 5/9/2007 12:21:56 PM
Ok a newbie here...
i have a sql server db I got from a book to learn. I am having problems
with the 'Authentication' mode.
I need a valid id to be authenticated with...
i have a web config file but I am not sure what goes where?
name of server
MKLAPTOP\VAIO_VEDB
connection
MKLAPT... more >>
Output result of query to existing file
Posted by mamin NO[at]SPAM o2.pl at 5/9/2007 1:07:05 AM
Hi,
I need to output result of my query to txt file. So I'm using -o
parameter, for example:
osql.exe -s (local) -d database1 -U sa -P sa -i 'c:\\queryFile.sql' -o
'c:\\output.txt'
But it clears existing output.txt file first and then outputs the
result, while I need to append the result o... more >>
SQL Server 2005 / securityadmin role / SSMS
Posted by bertolini.1 NO[at]SPAM osu.edu at 5/8/2007 8:10:58 PM
Experiencing a little weirdness with SQL Server Management Studio...
Have created a login, that has fixed server role "securityadmin".
The login can create/drop logins, add/remove them as users in
databases, etc.
The login can change another login's password, using SQL
from a query window (... more >>
how to identify special characters with a single case statement
Posted by rshivaraman NO[at]SPAM gmail.com at 5/8/2007 11:10:38 AM
hi All :
I have an insert statement which reads
INSERT Into TableA (Col1)
SELECT CASE WHEN Col1 LIKE '%[a-z]%' THEN 999999 ELSE Col1 END AS
Col1,
FROM TableB
**********************
TableA. Col1 has a datatype of Int.
TableB. Col1 has a datatype of varchar.
My insert is failing as ... more >>
Loading data from xml http stream
Posted by markjerz NO[at]SPAM googlemail.com at 5/8/2007 8:30:39 AM
Hi,
I have a problem which I don't entirely know how to tackle:
Essentially, is it possible to query a web service (via http), using
sql server 2000, and then import that data in to the database?
I have seen many posts on openxml and sql servers bulk load facilities
but nobody seems to me... more >>
|