Viewing 15 posts - 1,456 through 1,470 (of 5,394 total)
Looks like the SQL Server service account is not set to a domain user. Is it "Local System" or "Local Service"?
August 27, 2012 at 3:11 pm
I guess something like a DNS name + reverse proxy can do that.
I'm not sure you can forward to different ports based on the "alias" name, but it's worth giving...
August 27, 2012 at 3:08 pm
I see...
The application looks fro a LABELS table that contains all the labels in the report for translation in other languages.
That's something I failed to remove from this project and...
August 27, 2012 at 2:26 am
Indianrock (8/15/2012)
August 16, 2012 at 7:41 am
vliet (8/13/2012)
Í am both a developer of ASP.NET MVC solutions and a professional MSSQL DBA....
+1000
Couldn't agree more.
On portability, I agree with Steve that nowadays it's not as...
August 13, 2012 at 7:43 am
Record counts of what?
Can you clarify please?
August 13, 2012 at 6:42 am
You may also want to replace sysfiles with sys.database_files:
SELECT database_name = db_name()
,database_size = ltrim(str((convert(DECIMAL(15, 2), dbsize) + convert(DECIMAL(15, 2), logsize)) * 8192 / 1048576, 15, 2)...
August 13, 2012 at 3:22 am
You could also extract the code from sp_spaceused and query DMVs and system objects directly:
-- Taken from sp_spaceused:
SELECT database_name = db_name()
,database_size = ltrim(str((convert(DECIMAL(15, 2), dbsize) +...
August 13, 2012 at 3:11 am
No need to wait: http://support.microsoft.com/kb/2720425
August 13, 2012 at 2:47 am
rVadim (8/13/2012)
Create table with exact structure as returned by stored procedure. Then use INSERT-EXEC
Unfortunately, that won't work. sp_spaceused returns multiple resultsets when no @objname parameter is specified and INSERT/EXEC doesn't...
August 13, 2012 at 2:43 am
GilaMonster (8/13/2012)
Welcome to the 'everyone has an opinion and none of them agree' topic. 🙂
Not the only one, honestly. 🙂
Just to add my $0.02, if you're on Enterprise Edition, resource...
August 13, 2012 at 2:33 am
subbareddy542 (8/12/2012)
CREATE FUNCTION SPLIT(@VAL VARCHAR(MAX))
RETURNS @T1 TABLE(COL1 VARCHAR(MAX))
AS
BEGIN
WHILE CHARINDEX(',',@VAL)>0
BEGIN
INSERT INTO @T1 VALUES(SUBSTRING(@VAL,1,(CHARINDEX(',',@VAL))-1))
SET @val=SUBSTRING(@VAL,(CHARINDEX(',',@VAL))+1,LEN(@VAL))...
August 13, 2012 at 2:27 am
Viewing 15 posts - 1,456 through 1,470 (of 5,394 total)