Viewing 15 posts - 1,456 through 1,470 (of 2,038 total)
RBarryYoung (4/10/2009)
Hmm (scratches head). Well, I must be misremembering then. Sorry.
Don't say sorry! Thank you for the feedback and all the help in other threads! 🙂
Greets
Flo
April 10, 2009 at 10:27 am
RBarryYoung (4/10/2009)
Florian Reischl (4/10/2009)
HiSince your count of databases is not too much you can use a VARCHAR(8000) and Barry's suggestion to use the INFORMATION_SCHEMA.TABLES:
Unfortunately Flo, the INFORMATION_SCHEMA views do not...
April 10, 2009 at 10:18 am
Hi
If you don't have SSMS on your web server try this (sounds strange but works 😉 ):
* Create a new, empty "Text File" in explorer. Rename the file from ".txt"...
April 10, 2009 at 10:06 am
Vijaya Kadiyala (4/10/2009)
1) Insert the above query results into a table(Consultants_new).2) Rename the old table Consultants to Consultants_old.
3) Rename the old table Consultants_new to Consultants.
Thats it :w00t:
Hi Vijaya Kadiyala
I'm...
April 10, 2009 at 9:56 am
Hi
Since your count of databases is not too much you can use a VARCHAR(8000) and Barry's suggestion to use the INFORMATION_SCHEMA.TABLES:
DECLARE @sql VARCHAR(8000)
April 10, 2009 at 6:50 am
Hi
I supposed that the "first" row is identified by the MIN(item_key)...
So first update the Consultants and set the SUM of hours to the first Consultant, then delete all other rows:
;...
April 10, 2009 at 6:34 am
Hi
I can confirm Monica.
On SQL Server 2008 x64 (I know 2008... but no other x64 available at the moment):
Msg 536, Level 16, State 1, Line 1
Invalid length parameter passed to...
April 10, 2009 at 6:17 am
maxine (4/10/2009)
April 10, 2009 at 5:46 am
Hi
My solution would be quiet alike Andrew's first. I just would negate the AND-OR to avoid to get all values if all parameters would be NULL:
WHERE (@LoggedDateFrom IS NOT NULL...
April 10, 2009 at 5:32 am
GilaMonster (4/10/2009)
Florian Reischl (4/9/2009)
Anyway since the value cannot be converted to a number it also shouldn't be numeric...
Oh, but they can.
'15d1' and '15e1' will cast successfully to float. '10,0' will...
April 10, 2009 at 3:09 am
Hi
If your users are connected via domain authentication you can use the sys.dm_exec_sessions. Have a look to the login_name column:
SELECT * FROM sys.dm_exec_sessions WHERE session_id = @@SPID
If not you can...
April 9, 2009 at 4:02 pm
GilaMonster (4/9/2009)
April 9, 2009 at 3:55 pm
Remove all those "DECLARE *** TABLE " parts. Just leave the INSERT statements and add your destination and source columns.
Greets
Flo
April 9, 2009 at 3:12 pm
I've never seen this error, but I won't doubt. Just an idea:
Is it possible to add an column IsNumber to the table? If yes you can UPDATE once after loading...
April 9, 2009 at 2:49 pm
Hi sward
Here a little walk-through.
ALTER procedure [dbo].[move_ebs_learner]
(
Remove the brace in the second line.
DECLARE @wce_ilr TABLE (
[Created_date] [smalldatetime] NULL, ...
April 9, 2009 at 2:17 pm
Viewing 15 posts - 1,456 through 1,470 (of 2,038 total)