Viewing 15 posts - 25,606 through 25,620 (of 26,487 total)
Because NULL is not like @GL + '%'. You are now filtering your result. If you what all values to meet your filter or where GRPLDR.GLPerson is null, you need...
July 31, 2007 at 3:39 pm
I concur, as SQL Mail can be flaky at times.
![]()
July 31, 2007 at 3:34 pm
SELECT
'x'
FROM
MyDB1..table1 a
INNER JOIN MyDB2..table2 b ON
a.SubsidiaryNo = b.SubsidiaryNo
is your query, but I don't see a.SubsidiaryNo in any of the indexes for table 1. This may be why it...
July 30, 2007 at 4:51 pm
Interesting. Of course, I've never had to do to what you needed, so I wouldn't have even thought of the NoResees. something to keep in the back of mind (as...
July 30, 2007 at 3:43 pm
Can you also post your DDL for the tables involved?
July 30, 2007 at 12:44 pm
Because the DBCC CheckIdent is not modifying the metadata used to create the table, it is simply resetting the starting seed number to be used for future inserts into the...
July 30, 2007 at 12:35 pm
You need to install the ODBC driver on the server.
July 27, 2007 at 11:49 am
Try this :
where mb_membership.mbr_renew_date >= dateadd
(mm,datediff(mm,0,
July 27, 2007 at 11:34 am
To clarify, if @startmonth = 2007-07-15, you want all records where mb_membership.mbr_renew_date >= 2007-07-1 and mb_membership.mbr_renew_date < 2007-08-01?
![]()
July 27, 2007 at 11:29 am
Like I said earlier, looks like you will need to use dynamic sql. Build your query into a string, @SQLCmd = ...
then execute that, exec (@SQLCmd)
I was just hoping...
July 27, 2007 at 10:33 am
Steve, Combine to two threads on Bankers Round and you get close (depending on how you round :rolleyes![]()
July 27, 2007 at 10:25 am
Cause I am tired of the personal attacks for the most part. It's gotten to the point it isn't worth debating with some people.
url: http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=383658#bm385709
July 27, 2007 at 10:24 am
Give this a try:
create table dbo.MyTable (
JobNo decimal(6,0),
Status char(2),
TransDate datetime,
RecordId bigint identity(1,1)
)
go
insert into dbo.MyTable values (1234,'AB','01/07/07')
insert into dbo.MyTable values (1234,'AB','02/07/07')
insert into dbo.MyTable values (1234,'AB','03/07/07')
insert into dbo.MyTable...
July 27, 2007 at 10:16 am
Viewing 15 posts - 25,606 through 25,620 (of 26,487 total)