all groups > sql server programming > october 2003 > threads for sunday october 12
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
A simple question
Posted by Johnsun at 10/12/2003 10:46:12 PM
Can I create a view from the following table:
GROUP ID STR
AAA 1 A
BBB 2 X
AAA 2 B
AAA 3 C
BBB 1 Y
View results£º
GROUP STR
AAA ABC
BBB YX
That means automatic to combine STR by [ID] order.
Thks
... more >>
Qry Count Errors (repost: NG unavailable)
Posted by JDP NO[at]SPAM Work at 10/12/2003 10:35:12 PM
I want a single row per sales rep with counts
How do I make a multi conditional case with a single row result set. ?
select c1.key4 [Sales Rep]
,c1.key3 [Market Center]
-- this errors: line n bad syntax near 'not'
,count(case c1.accID when not null then 1 end) as [Goldmine R... more >>
A Simple Question
Posted by Johnsun at 10/12/2003 10:25:35 PM
Can I create a view from the following table:
GROUP ID STR
AAA 1 A
BBB 2 X
AAA 2 B
AAA 3 C
BBB 1 Y
View results£º
GROUP STR
AAA ABC
BBB YX
That means automatic to combine STR by [ID] order.
Thks
... more >>
SQLDMO
Posted by Paul Ilacqua at 10/12/2003 9:00:25 PM
Can someone give me an example of how to use the complete or percent
complete event of the SQLDMO restore method. BOL is a little vague. Thanks
Paul
... more >>
Allow Nulls
Posted by Paul Ilacqua at 10/12/2003 7:31:53 PM
I'm importing AS 400 Data into SQL Server 2000. I wrote a VB program to
parse the ASCII file to a "regular" flat file, and then I BCP it into SQL
Server..no problems there. My question is in several Money columns and
decimal columns, should I allow nulls or as I do now insert 0's for no
ent... more >>
UPDATE statement help
Posted by ralph.costa NO[at]SPAM aptours.com.au at 10/12/2003 7:23:15 PM
Hi
Is there a way to perform the following update in a single UPDATE
statement? I can easily perform the update with cursors but would like
to avoid their use.
Sample table and data is provided below. FYI, I have provided a
before/after example of the data.
If I run this query against th... more >>
Is it possible to replicate sql server and oracle ?
Posted by Luqman at 10/12/2003 6:11:02 PM
Is it possible to create replication between sql server and oracle ?
Best Regards,
Luqman
... more >>
Taste this update from the MS
Posted by Silvia Vaisman at 10/12/2003 5:40:25 PM
Microsoft Customer
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Newbie-> An Outer Join vs. EXCEPT
Posted by Don at 10/12/2003 2:27:18 PM
I have two tables: tblEmployees and tblPositions. Each position in
tblPositions has a unique ID number. This number is entered in an employees
record in tblEmployees. (We can temporally assign two employees to the same
position.) The boss now wants a report which shows which positions are
va... more >>
Loop inside stored procedure
Posted by Tony Lorentzen at 10/12/2003 1:24:45 PM
Hi,
I hope someone has feedback on this issue. Here goes...
I'm making a "diary" web-application and I'm using SQL Server 2000.
I want to make some sort of mailinglist where the users on my system will be
able to subscribe to other users' diaries. When the user adds to his or her
diary t... more >>
how to use existing indexes without creating new ones
Posted by Karl Seguin at 10/12/2003 11:18:31 AM
I'm looking for a way to use existing indexes, without creating new ones
whenever I add a new row. This may not be possible or make a lot of sense.
I'll explain anyways.
For example: We have 1000 records and are synching data that is sent to us
in a batch process. Some of the data we are syn... more >>
SQL Server project management
Posted by allancady NO[at]SPAM yahoo.com at 10/12/2003 11:07:49 AM
I'm a veteran software developer who's relatively new to the world of
databases. The project I'm currently working on is growing to the
point that I'm starting to wish I had the kind of project tools that
I'm used to with languages like C++ and Java, namely compilers, "make"
utilities, source c... more >>
Existence Test on Table
Posted by Brad M. at 10/12/2003 10:35:06 AM
Is there a simple SQL statement I can use as an existence test on a table?
Reason being is that we have a system at our company that is replicated out
to mobile computers. As a result, there are some tables that the mobile
computers do not have. In the event that an administrator logs on in the... more >>
2nd normalized form.
Posted by I_AM_DON_AND_YOU? at 10/12/2003 9:22:23 AM
If a table has only column which make the primary key then there can't be
violation of 2nd normalized form. TRUE of FALSE ? If FALSE...example.
... more >>
is there a faster way to pass an array (csv list) to a table?
Posted by Dave at 10/12/2003 2:53:07 AM
Hi all,
I was wondering if there was a faster way to pass an array (from an input
value containing a CSV string)
into a table column without having to use a loop?
Here is the code (with comments):
CREATE PROCEDURE InsertCSV
(
@InputList varchar(900) -- a csv string i.e.
'apples,... more >>
Is there a Reorg Utility?
Posted by paul reed at 10/12/2003 2:01:57 AM
Hello,
I am very familiar with other DB technologies and use SQL Server a bit
(actually more and more often now). Other products like DB2, etc...have
reorg utilities. I don't seem to find anything similar in SQLServer. I see
things like reindex and indexdefrag...but they just appear to work wi... more >>
|