Viewing 15 posts - 8,806 through 8,820 (of 13,876 total)
Imagine if the table were normalised. Something like this:
(Id, Mode, StartDate, EndDate)
I think you'd need a query like:
select id
from table
where Mode = 1
except
select id
from table
where
(Mode = 2 and Enddate...
January 6, 2015 at 10:38 am
Have you considered setting the columns to NOT NULL?
(After fixing existing NULLs, of course)
January 6, 2015 at 4:07 am
Just played around with this a bit and it seems that the CHOOSE function does not deal well using functions directly in the 'index' argument.
This is not just a consequence...
January 6, 2015 at 3:25 am
batgirl (1/5/2015)
1. Downgrading my "job" - this is my last week of a full time high pressure job (on call 24 x 7) and...
January 5, 2015 at 11:48 am
Ah, now I understand.
Go to Tools/Options in SSMS. Select SQL Server Object Explorer / Scripting.
Set 'Check for object existence' to False.
January 5, 2015 at 7:35 am
'Scripting' is how stored procedures are modified – it is the only way.
January 5, 2015 at 7:33 am
m_swetz (1/4/2015)
January 5, 2015 at 12:50 am
You cannot configure the connection directly like that.
Please read through this [/url]article and see whether it helps you.
January 5, 2015 at 12:29 am
cheryljanicedsouza (1/3/2015)
My whole column needs to be converted into that format, not the specific field
Any solution proposed here will, of course, need to modified to run against your data, but...
January 3, 2015 at 4:24 am
Eirikur Eiriksson (1/3/2015)
Luis Cazares (1/3/2015)
DECLARE @date date = '20140927'
Be careful with the implicit conversion as the results will be depending on the system settings, no guarantee that it will be...
January 3, 2015 at 3:08 am
Eirikur Eiriksson (1/3/2015)
Phil Parkin (1/3/2015)
just set @@Identity to a variable and do a second insert statement.
Rather than @@Identity, you would be...
January 3, 2015 at 1:59 am
Please post the full text of the error message you receive.
January 3, 2015 at 1:38 am
By the way, this is not a great idea:
just set @@Identity to a variable and do a second insert statement.
Rather than @@Identity, you would be better off using Scope_Identity()....
January 3, 2015 at 1:35 am
Does your source header data include a natural key which you could use for lookup purposes after writing to the parent table?
January 3, 2015 at 1:31 am
Viewing 15 posts - 8,806 through 8,820 (of 13,876 total)