Viewing 15 posts - 11,866 through 11,880 (of 13,465 total)
i think i had a similar issue, and it was related to a weak password for my user; i don't remember if it was my sa account or my admin...
November 21, 2008 at 11:10 am
not sure if this is what you are looking for;
do you want the sum() of quantity grouped by vendor id?
something like this?:
[font="Courier New"]SELECT
SUM(X.Quantity) AS QTY,
TMPData.VendorID
FROM dbo.GetAllReorderScannedItemsByDate() X
INNER JOIN (SELECT...
November 21, 2008 at 11:01 am
ugg...i had a long explanation, and it got lost when posted...rewriting it again here:
A version of the RichText control exists in All versions of .NET; it's under System.Windows.Forms.RichTextBox.
However, just because...
November 21, 2008 at 8:08 am
here's one possibility:
if it's not parameter sniffing as mentioned above, which uses a bad execution plan so it's slow,
it might actually be the data and the time it takes to...
November 21, 2008 at 7:27 am
most of the issues appear to be that the dll is not registered on the server.
'Invalid class string' implies that the control is not installed on the server...specifically that the...
November 21, 2008 at 5:25 am
awe comeon, you didn't need to post a question for this:
your error says line 24;
if you go to your query, you'll see this, starting (guess where? line 24!):
','+ @Col1 ...
November 20, 2008 at 7:41 am
if the database you are connecting to is set at compatibility level 80, the newer syntaxes will be rejected; you just need to change the compatibility level:
right click
properties
options
third drop down...
November 19, 2008 at 3:39 pm
sure;
declare @FLD4 int
SET @FLD4=42
INSERT INTO Table_B(Fld_1, Fld_2, Fld_3, FLD_4)
SELECT Fld_1, Fld_2, Fld_3,@FLD4
FROM Table_A
homebrew01 (11/19/2008)
So Table_A has 3...
November 19, 2008 at 3:09 pm
googled sql error 913 and the first hit came up with this:
http://www.lcard.ru/~nail/sybase/error/8662.htm
Possible causes of Error 913 are:
Accessing a stored procedure or view that refers to a table in a database...
November 19, 2008 at 11:46 am
yeah queries from profiler can be hell to get your arms around;
I've formatted your query in the attachment you see; it's just a bunch of find and replaces to get...
November 19, 2008 at 11:27 am
I'm not sure how you'd identify unused indexes; hopefully someone has an idea on how to do that.
if you use the search function and poke around the Scripts section for...
November 18, 2008 at 10:22 am
ouch...that is a hard one.
I think you are saying you have an excel spreadsheet that contains embedded images. say someone pasted half a dozen images into an excel worksheet, and...
November 18, 2008 at 9:54 am
yeah it depends on how accurate your data needs to be; a developer might just need to know whether some table has a lot of rows or not, but other...
November 18, 2008 at 7:47 am
2000 doesn't have a Schema, just object owners...for each test.object, you want to use sp_changeObjectOwner instead.
sp_changeObjectOwner 'test.table','dbo'
November 18, 2008 at 7:25 am
2005 makes it REALLY easy by using a Common Table Expression(CTE) and the Row_number () function
here's a simple example:
with MyQuery As (
select row_number() over (order by name) as RowNumber,*...
November 18, 2008 at 7:20 am
Viewing 15 posts - 11,866 through 11,880 (of 13,465 total)