Viewing 15 posts - 2,656 through 2,670 (of 7,429 total)
Of excuse me I meant
DECLARE @makecomment VARCHAR(100)
SET @makecomment = 'SAYSOMETHING'
IF @makecomment IS NOT NULL
PRINT 'I would said SQL is your first language.
'
ELSE
--Don't bother.
July 29, 2003 at 4:58 pm
quote:
I'm afraid this question was my doing and English is hardly my 2nd language (although my ex-English teacher may say otherwise). I...
July 29, 2003 at 3:21 pm
You could try but you really have to know your data to have a clue.
Do
SELECT db_name(dbidvalue)
to get the database name. Then do
DBCC TRACEON(3604)
GO
DBCC PAGE('dbnamehere',filegroup,pagenumber,3)
The output is the page data itself...
July 29, 2003 at 6:27 am
So Answer E fire the dumb@$$ who put 16GB on a machine with OS support for only 8GB. ![]()
July 29, 2003 at 6:17 am
I understand that. Just want to see if the behavior is the same or not. I am not able to dup so just want to see if the code is...
July 29, 2003 at 5:12 am
Do they all need to go and all need to fail together and have you tried them in seperate calls to see if the problem is retained then?
July 29, 2003 at 5:02 am
Ok here we go.
quote:
2:1:64247
2 is the database id (compare it with dbid)
1 is the filegroup...
July 29, 2003 at 4:58 am
The quickest dirtiest way I can think of is wrap your sporc with a check. Then create a control table with a bit value. If the value is 1 then...
July 29, 2003 at 4:34 am
What version and patch level are you running of SQL?
July 29, 2003 at 4:29 am
Or if your field ahs a maximum length use that value. For instance a varchar(100) filed use 100 as the 3rd parameter. It cannot get more data than is actually...
July 29, 2003 at 4:13 am
If you are saying you want to pass the string dynamically and return the value to @var then look at sp_executesql in BOL.
But be carefull here as that increases you...
July 29, 2003 at 4:09 am
The problem with this one and the others that are wrong is that they actually return the database username. For instance if an account is a dbo in the database...
July 29, 2003 at 4:05 am
From the dbforums site I saw a post that this was a common request and is under consideration. However, can you post a code example so people know what it...
July 28, 2003 at 4:28 am
I am hearing a lot of rave about the AppDev products http://www.appdev.com/rs_entry.asp. We are trying to get our hands on them now ourselves for SQL Server 2000 and .NET.
I...
July 28, 2003 at 4:00 am
Viewing 15 posts - 2,656 through 2,670 (of 7,429 total)