Viewing 15 posts - 76 through 90 (of 245 total)
like this?
you'd have to work out what the criteria for joining the table is though
declare @table table(ID int, UName varchar(10),alert_datetime datetime)
iNSERT INTO @table
SELECT '1','ABC','2011-07-06 14:12:00' UNION ALL
SELECT '2','XYZ','2011-07-06 14:12:10'...
June 27, 2012 at 7:10 am
there is an execution time-out option in SQL.
click Tools --> Options... and then choose 'Query Execution' from the resulting popup window.
you will see an option that says 'Execution time-out' which,...
April 17, 2012 at 9:44 am
Eugene Elutin (4/17/2012)
CELKO (4/16/2012)
April 17, 2012 at 7:14 am
brilliant, thanks for the info.
i also used this thread http://www.sqlservercentral.com/Forums/Topic542581-145-1.aspx, based on the table names you gave me, and have found the offending SQL job.
select (select name from sysjobs...
April 13, 2012 at 4:02 am
i see. i guess i'll just have to put up with it π thanks anway!
i was hoping to get it sorted like so:
footballs
footballStates
footballs_MLFlags
footballUnits
footballValidation
footballValidationStates
football_suspend
which is alphabetical from what i can see....
April 4, 2012 at 9:25 am
this is a great script! i've already found a number of examples of 'bad' data.
i had to be careful though as i found that names like 'Stuart' and 'Kirsty' are...
April 4, 2012 at 3:49 am
ok. thats weird.
my example was totally made up to illustrate my point. Maybe, in making it up, i inadvertently made it less clear what was going on.
Here are my table...
April 4, 2012 at 2:20 am
i found something weird. i have two databases with different collations. so if i do:
WITH TBProduct (Description)
AS
(
SELECT 'NΒΊ20' UNION ALL
SELECT 'No Special Characters' union all
select 'Coedcae Comprehensive' union all
select col1...
March 28, 2012 at 9:06 am
Rose Bud (3/27/2012)
davidandrews13 (3/27/2012)
that's the reason why i thought it didn't matter if you specified SELECT *, or not - because it always expanded it out for me.
It appears to...
March 27, 2012 at 9:59 am
Hugo Kornelis (3/27/2012)
davidandrews13 (3/27/2012)
a. i create a view by using the CREATE VIEW As statement with a SELECT * and the view automatically expands out the column names.
That is, apparently,...
March 27, 2012 at 9:40 am
Sean Lange (3/27/2012)
davidandrews13 (3/27/2012)
March 27, 2012 at 9:38 am
Hugo Kornelis (3/27/2012)
davidandrews13 (3/27/2012)
bitbucket-25253 (3/27/2012)
davidandrews13 (3/27/2012)
Carlo Romagnano (3/27/2012)
Easy question!Good practice is never use "SELECT * FROM" in view, too.
π
surely it doesn't matter if you do SELECT *?
every time i create...
March 27, 2012 at 9:19 am
bitbucket-25253 (3/27/2012)
davidandrews13 (3/27/2012)
Carlo Romagnano (3/27/2012)
Easy question!Good practice is never use "SELECT * FROM" in view, too.
π
surely it doesn't matter if you do SELECT *?
every time i create or update a...
March 27, 2012 at 8:57 am
Hugo Kornelis (3/27/2012)
davidandrews13 (3/27/2012)
every time i create or update a view to '*' instead of naming each individual column name, it expands it out to the individual column names anyway.
That's...
March 27, 2012 at 8:56 am
Carlo Romagnano (3/27/2012)
Easy question!Good practice is never use "SELECT * FROM" in view, too.
π
surely it doesn't matter if you do SELECT *?
every time i create or update a view to...
March 27, 2012 at 8:44 am
Viewing 15 posts - 76 through 90 (of 245 total)