Viewing 15 posts - 376 through 390 (of 417 total)
I'm not suggesting this is a good idea, but if avoiding dynamic sql is your only consideration then this might work.
Edit: I assumed you wanted the rest of the year...
September 28, 2010 at 10:41 am
This is a common problem with medical codes, 008.8 is not the same as 08.80.
I have always had to save as a text file, or open excel and add a...
September 21, 2010 at 7:32 am
This may or may not be relevant.
A while ago I had to set up a sql version of an oracle database(s).
I went with one sql database and multiple schemas that...
July 1, 2010 at 8:26 am
I think the only problem is the sql syntax. I was able to recreate it fine.
insert into table (Scenario)
Select @Scenario as Scenario
INSERT INTO Scenario
SELECT @Scenario as Scenario
June 23, 2010 at 9:01 am
If you dont want to switch to using a date counter, does this work?
Set @StartingMon = @StartingMon + CASE
WHEN RIGHT(CONVERT(CHAR(6),@StartingMon),2) =...
June 14, 2010 at 8:14 am
Ninja's_RGR'us (5/9/2010)
Gail has a great article on this but I didn't save the link... plz anyone post it if you know what I'm talking about.
is this it?
http://sqlinthewild.co.za/index.php/2007/11/27/parameter-sniffing/
May 10, 2010 at 7:51 am
If it completes without error, but nothing happens, perhaps its not finding the remote file. Does it complete instantly? or does it appear to download a file, but then the...
April 29, 2010 at 8:52 am
Can you include the join to the other tables in the proc?
April 23, 2010 at 11:52 am
Can you use TRY CATCH?
BEGIN TRY
ALTER TABLE tblproducts ADD isDelete bit
END TRY
BEGIN CATCH
END CATCH
April 23, 2010 at 7:59 am
Can you run the code directly on the remote server? I seem to remember getting cryptic errors from a linked server caused by syntax errors. Sometimes the data would change,...
April 15, 2010 at 9:28 am
What OS is on the box? If its XP then it has to be XP Pro so that you can run IIS, but I think it should tell you that.
March 23, 2010 at 8:32 am
Variation on the above.
DECLARE @T
TABLE (
row_id INTEGER PRIMARY KEY,
...
March 12, 2010 at 7:53 am
Viewing 15 posts - 376 through 390 (of 417 total)