Viewing 15 posts - 7,636 through 7,650 (of 15,381 total)
asita (7/9/2013)
I am using SQL server 2008 R2, i have a table called dbo.JJ_CARSDATA_Header, some how this table data is getting deleted,
is there anyway how to know , when...
July 9, 2013 at 9:51 am
First things first. We need some consumable ddl and sample data. I created this for you this time so you can see what I mean.
if OBJECT_ID('tempdb..#Something') is not null
drop table...
July 9, 2013 at 9:16 am
Also, if you give @RunningTotal an initial value of 0 instead of null you could remove the case expression.
...
DECLARE @DtBegin datetime,@DtEnd date,@dtDif int,@RunningTotal int = 0
...
UPDATE #QuirkUpdate
...
July 9, 2013 at 9:08 am
That looks pretty good. One recommendation, I would add the keyword CLUSTERED after PRIMARY KEY. And add a comment that it MUST be clustered. Yes I know that the default...
July 9, 2013 at 9:04 am
Vertigo44 (7/9/2013)
Sean Lange (7/9/2013)
Vertigo44 (7/9/2013)
July 9, 2013 at 8:38 am
Guitar_player (7/9/2013)
John Mitchell-245523 (7/9/2013)
I'm not sure what you mean, but have you tried the INFORMATION_SCHEMA.COLUMNS view?John
Yes , I have tried using the basic names
SELECT COLUMN_NAME, TABLE_NAME
FROM INFORMATION_SCHEMA.COLUMNS...
July 9, 2013 at 8:29 am
hidayah (7/9/2013)
I'm a real newbie in SQL. My job demands me to learn it which I found out to really attractive.
I was told that, having the last line(AND P.Deleted=0)...
July 9, 2013 at 8:26 am
Vertigo44 (7/9/2013)
July 9, 2013 at 8:07 am
JoNTSQLSrv (7/9/2013)
I live in INDIA. For one year i have been working in sql server 2005 as a developer and i never got opportunity...
July 9, 2013 at 7:51 am
I think using 1 table should be fine if all the data is reasonably close to the same columns.
However you should not use ntext. The text and ntext datatypes...
July 9, 2013 at 7:45 am
No need to make this complicated. Just figure out your connection string like you did you original variable.
public class Program// note the class name, here
{
public static string MyVariable { get;...
July 9, 2013 at 7:29 am
Maybe another approach would be to create a new database and then script all the objects and transfer in the data? For the small amount of data it shouldn't take...
July 9, 2013 at 7:12 am
rayh 98086 (7/8/2013)
Thank you for the risk you took as I sincerely appreciate the help and is working as needed. =)
I also need to have this parameter decide on...
July 8, 2013 at 3:32 pm
nicholasferri (7/8/2013)
July 8, 2013 at 3:27 pm
Viewing 15 posts - 7,636 through 7,650 (of 15,381 total)