Viewing 15 posts - 9,811 through 9,825 (of 26,489 total)
vinay.varaala (9/5/2012)
when i runing below stored procedure it not returning any value
alter procedure sp_date
@dyti datetime
as
begin
select Simmons_PanelID,Reading_Date,Fuel_Level ,Fuel_Temp,Fuel_Volume from dbo.Levels
where Reading_Date=@dyti
group by...
September 5, 2012 at 8:44 am
I am trying to be good, but sometimes I would really like to shoot that high horse.
September 4, 2012 at 10:33 pm
jrichards54 (9/4/2012)
September 4, 2012 at 10:09 pm
P Jones (8/31/2012)
This was done by the base exchange and other stores when I stationed in England many years ago. We were in fact told NOT to bring US pennies...
September 4, 2012 at 4:13 pm
Ray K (9/4/2012)
So, then, the moral is don't text anddriveofficiate! 😉
Not really an issue as my phone stays in my bag until the game is over.
September 4, 2012 at 4:11 pm
GuruGPrasad (9/4/2012)
Max column length may vary.
And your code
select
country + replicate(' ', 56 - len(country)) + currency_code from dbo.currency order by country;
does not...
September 4, 2012 at 4:06 pm
FYI, I posted the output I generated into Notepad and it looks good, the currency codes are all lined up nicely.
September 4, 2012 at 3:45 pm
Two things. One, your code would simply look like this:
select
country + replicate(' ', 56 - len(country)) + currency_code from dbo.currency order by country;
Two, be sure...
September 4, 2012 at 3:43 pm
GuruGPrasad (9/4/2012)
select country + space(46-Len(country)) + CONVERT(varchar(max), currency_code ) from currency order by country...
September 4, 2012 at 3:40 pm
roryp 96873 (9/4/2012)
Lynn Pettis (9/4/2012)
September 4, 2012 at 3:33 pm
GuruGPrasad (9/4/2012)
CREATE TABLE [dbo].[currency](
[currency_code] [varchar](3) NOT NULL,
[country] [varchar](256) NOT NULL,
[currency_name] [varchar](256) NULL,
[active] [int] NULL,
CONSTRAINT [PK_currency] PRIMARY KEY CLUSTERED
(
[currency_code] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,...
September 4, 2012 at 3:25 pm
Here is my problem. As good as your description of the process, I can't see what you are trying to accomplish. You should post the DDL for the...
September 4, 2012 at 3:20 pm
Okay, some time tonight I will definately have to check out my team. Let's see, soccer game at 6:00 PM, hmmm, looks like some time around 9:00 PM MT...
September 4, 2012 at 3:14 pm
The problem we have, at least from my point of view, is that we still don't know what you mean by things aren't working. It appears that you have...
September 4, 2012 at 2:53 pm
Tom Brown (9/4/2012)
Orphaned users are easy to fix:
-- show users not mapped to a login
EXEC sp_change_users_login 'Report'
-- map database user OrphanedUser to Login OrphanedUser
EXEC sp_change_users_login @Action='Update_One', @UserNamePattern='OrphanedUser' , @LoginName='OrphanedUser'
Just...
September 4, 2012 at 2:40 pm
Viewing 15 posts - 9,811 through 9,825 (of 26,489 total)