Viewing 15 posts - 5,311 through 5,325 (of 5,588 total)
Oh Ms. Gail, the exhaulted holder of the double-edged ninja throwing sword, I have a question about the "catch-all" in where statements. Please see my post here.
Thanks,
May 28, 2009 at 5:04 pm
Check out these articles:
http://www.sqlservercentral.com/articles/Reporting+Services/62731/
http://www.sqlservercentral.com/articles/XML/63633/
Even though the first article shows one way, I would now do it by using the Join command to make a comma-delimited string, then using the method...
May 27, 2009 at 6:47 pm
And thank you for coming back and posting what worked. This way, others with a similiar problem can see what worked.
May 27, 2009 at 6:37 pm
First, I want to thank you for posting the DDL and DML to setup the tables.
How does this code work for you?
--StudentGrade
if object_id('tempdb..#StudentGrade') is not null drop table #StudentGrade;
CREATE TABLE...
May 27, 2009 at 6:28 pm
Nuts (5/27/2009)
Hi TimBasically I want to insert all rows from table B to table A
Okay..... try this:
insert into TableA
select * from TableB
May 27, 2009 at 5:29 pm
Florian Reischl (5/24/2009)
@Allister: Thanks for the test data!
I took Allister's...
May 24, 2009 at 9:00 pm
Allister Reid (5/24/2009)
Does your table have to be a variable, I had a go with a bigger data set and got really bad results on it, it got...
May 24, 2009 at 8:46 pm
All of these get just the month / year in different ways, and with different formatting:
declare @Date datetime = GetDate()
select MONTH(@date), YEAR(@date)
select DATEPART(month, @Date), DATEPART(year, @Date)
select CONVERT(char(6), @Date, 112)
select CONVERT(char(7),...
May 19, 2009 at 9:25 am
josephptran2002 (5/18/2009)
Thanks, I did it and run the same codes that you suggested me to do
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Ole Automation Procedures', 1;
GO
RECONFIGURE;
GO
it still gives me the same...
May 18, 2009 at 2:37 pm
josephptran2002 (5/18/2009)
OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)"...
May 18, 2009 at 1:44 pm
DBA (5/18/2009)
from Dist_Main M inner join Dist_Details D on
M.DistPK = D.DistFK
where distribuborcargo = @cargo
and distributorstatus in ('9', '7','5','1')
my issue is creating a variable...
May 18, 2009 at 1:09 pm
Viewing 15 posts - 5,311 through 5,325 (of 5,588 total)