all groups > sql server programming > september 2006 > threads for sunday september 10
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
How to pass a list of parameters from Select Table
Posted by Stephen K. Miyasato at 9/10/2006 10:58:48 PM
In most programming languages one usually loops through the customer with a
do while loop
I have a list of patients with ages and sex and usually run a while loop to
do the processing.
While not eof do
end
My intent is convert this to a stored procedure.
The stored procedure takes... more >>
VARCHAR(8000) Does Not Work
Posted by hufaunder NO[at]SPAM yahoo.com at 9/10/2006 9:19:44 PM
I have a table with a field of type varchar(8000). Unfortunately, I am
not able to store more then approx 3900 characters. This is the error I
get:
Disallowed implicit conversion from data type ntext to data type
varchar, table xxx column yyy Use the CONVERT function to run this
query.
I ... more >>
Database design question
Posted by Frank at 9/10/2006 9:02:54 PM
I'm trying to design my database to be as normalized as possible but it
would seem that (given my approach) being too normalized can also lead
to delays when querying.
I have a table that contains assignment data (an assignment in this
case is like a case file). Through it's life time the ass... more >>
Selecting minimum between 2 values - Sybase SQL
Posted by jmanzano3 NO[at]SPAM gmail.com at 9/10/2006 8:09:46 PM
Hi
I'm trying to do an update query but there is one section that I am
stumped with. Unfortunately I do not have an SQL book on hand. I want
to select the minimum value between 2 values. Does anyone know what
command/logic I need to use? By the way, this is for Sybase SQL.
Thanks.
... more >>
What is it that I don't understand about varbinary and datatype co
Posted by Dave at 9/10/2006 5:11:02 PM
--create a table
IF OBJECT_ID('tempdb..#tmp','u') IS NOT NULL
DROP TABLE #tmp
CREATE TABLE #tmp
(
iID int IDENTITY
,creditcardno varbinary(8000)
)
--add some data
DECLARE @creditcardno varchar(60)
SET @creditcardno='5712345678905555'
INSERT #tmp (creditcardno )
VALUES (encryptbypa... more >>
SQL 2005: Pivot question
Posted by Andreas Klemt at 9/10/2006 5:03:55 PM
Hello,
I have this
SELECT [1], [2], [3], [4], [5], [6], [7], [8], [9], [10], [11], [12]
FROM
(
SELECT MONTH(logdatetime) AS logmonth, COUNT(*) AS logcount
FROM userlogs
GROUP BY month(logdatetime)
) a
PIVOT
( SUM(logcount) FOR logmonth IN ([1], [2], [3], [4], [5], [6], [7], [8],
[9... more >>
best way to bulk update
Posted by kenimojo NO[at]SPAM gmail.com at 9/10/2006 5:02:50 PM
Hi I am new to sql server 2005.
I have a flat file with about 10 million rows of data which I need to
use to update the values in a table every day. The table has a single
clustered index which is the column ID. I do not need to insert new
data, just update the data on this table. The file has a... more >>
sproc variable question-newbe
Posted by Enterprise at 9/10/2006 1:39:22 PM
Hi,
Can I declare variables in sprocs that are to be used just in the
sproc?
The reason I need this is because I need to make 2 insert statements
and I need to store the @@Identities of those inserts so I can make an
insert into another table where the @@identities are foreign keys.
Thanks
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with full text index in farsi language
Posted by saeed.shahrivari NO[at]SPAM gmail.com at 9/10/2006 5:05:07 AM
Hi
i am trying to use full text index with farsi language .
but simply it does'nt work do you know why fulltext index does'nt work
with farsi?
because i know that full text supports natural languages.
Bye
... more >>
Which function can convert number value to string with lead zero?
Posted by ABC at 9/10/2006 12:00:00 AM
Which function can convert number value to string with lead zero?
e.g.
1 --> 00001
12 --> 00012
125 --> 00125
... more >>
|