Viewing 15 posts - 12,676 through 12,690 (of 13,469 total)
what is the specific error message you get for error -271; i googled it and couldn't find an example.
ok...you said you were loading the data into a data table. when...
February 26, 2007 at 11:35 am
changing collation can be a big project because it's in so many places:
at the server level, at the database level, and separately for each column of type text/ntext/char/nchar/varchar/nvarchar/
here's a script...
February 23, 2007 at 3:10 pm
i believe your code is trying to update the calculated field, maybe by trying to update it's current value with the same value. it might be automatic. make sure the...
February 23, 2007 at 1:36 pm
i've seen this many times ; it has to do with the default database for the login in question...change the default login's database from whatever it is now (probably master)...
February 22, 2007 at 2:39 pm
since you are updating standard2, you should not have joined it: stop the query and do it this way;
UPDATE Standard2
SET Standard2.Current_County = ZipMkt06.County2
FROM zipmkt06 WHERE standard2.patzip = zipmkt06.zip
February 22, 2007 at 2:23 pm
improved to include the column as well:
select
object_name(parent_obj) As TableName,
syscolumns.name as Columnname ,
sysobjects.name as DefConName from sysobjects
inner join syscomments on sysobjects.id=syscomments.id
inner join syscolumns on sysobjects.parent_obj=syscolumns.id and sysobjects.info =syscolumns.colid
where sysobjects.xtype='D' --default...
February 22, 2007 at 2:20 pm
I think this is what you are looking for: this is for a single database, you'd need to wrap this up for the sp_msForEachdb proc for every location on every...
February 22, 2007 at 2:01 pm
i don't see how/if A is related to b, but it is something like this i think: maybe left or right joins, you'd have to examine the actual data:
select a.[Value],...
February 22, 2007 at 8:05 am
i kind of assumed that the uniqueness you wanted was firstname/lastname, so all other columns would be a min() or max(), unless those columns make the row the distinct -ness...
February 21, 2007 at 11:50 am
Hi Tim can you clarify... Is the question "create a thumbnail image from an image i have so I can either use the thumbnail or save it in the db?"...
February 21, 2007 at 10:09 am
i think it might have to do with the table variable;
SELECT userid, fname, lname, toemail FROM users, @clientstable CT WHERE users.userid = CT.userid
i would look at the execution plan, but...
February 21, 2007 at 9:54 am
minor, maybe do to a copy/paste/edit, but i think one variable is not declared, and another is never initailized:
CREATE PROCEDURE [dbo].[proc_broadcastemailsget]
AS
DECLARE @clientstable TABLE (userid INT PRIMARY...
February 21, 2007 at 9:12 am
i guess what i was suggesting is that when you are looping thru the datagrid, I would have put the userid's that had checkboxes checked in their associated data row,...
February 21, 2007 at 9:02 am
there's several ways...I would suggest a group by:
SELECT ENO, Fname, Lname, MIN(Dept) as Dept, MIN(Start) as Start, MIN(End) as [End], MIN(Chngdate) as Chngdate FROM sometable
group by ENO, Fname, Lname
February 21, 2007 at 8:54 am
Viewing 15 posts - 12,676 through 12,690 (of 13,469 total)