Viewing 15 posts - 8,791 through 8,805 (of 18,926 total)
Fait une recherche dans Books Online.
ALTER DATABASE DbName WITH MOVE
Je me souviens plus du nom exact de l'option qui suit (et j'ai pas sql server ici)... ça va prendre le...
September 18, 2008 at 6:53 am
... and why did you decide the create such a column in the DB / select statement?
September 18, 2008 at 6:45 am
will.rowland (9/16/2008)
We are located in Austin,...
September 18, 2008 at 6:37 am
Also keep in mind that if you have ids that go over 9, you can run into this situation :
4 & 44 = 444
44 & 4 = 444
If you...
September 17, 2008 at 6:54 pm
Yes it can happen, especially if those 2 ids are in any numeric format.
What are the base datatypes of those columns?
What are you trying to accomplish with the calculated field?
You...
September 17, 2008 at 6:52 pm
The only remotly close problem I had to yours is when the user didn't have permission to execute the procedure or function or whatever else. I got a general...
September 17, 2008 at 3:56 pm
You got me there... I have no clue of what could be causing this.
Any chance you can post the code along with DDL and sample data so that we can...
September 17, 2008 at 3:53 pm
Can you imagine if the comment was in the where condition instead of the select???
Angry boss to DBA >> why the heck didn't you test your sp before production, the...
September 17, 2008 at 1:02 pm
I remember that in 2000, when there were text or image columns, we had to do a DBCC updateusage IIRC to have that table size updated.
If I'm wrong,...
September 17, 2008 at 11:39 am
Are you calling both sps from SSMS?
I know that results to grid will screw up the formating, but since you say you are printing that is most likely not the...
September 17, 2008 at 11:36 am
do a search for common table expressions (CTE).
I don't sql installed here to do a demo for you. But you'll find plenty of help on this site... and I'm...
September 17, 2008 at 11:33 am
Triggers on system objects were never safe... and they are 100% forbidden 2005 forward.
That's why DDL triggers were created.
I have never done that but I'm sure BOLs can point you...
September 17, 2008 at 8:10 am
As safer version would be this :
if object_id('dbo.Clients', 'U') > 0
PRINT 'drop it'
if object_id('dbo.usp_DeleteType_appareilBypkType', 'P') > 0
PRINT 'drop it'
note that the schema and object types are mentionned... there can...
September 16, 2008 at 1:39 pm
Michael Earl (9/16/2008)
[font="Courier New"]DECLARE @v-2 AS NVARCHAR(MAX)
SELECT TOP 10000 @v-2 = coalesce(@v + CAST(N', ' AS NVARCHAR(MAX)) + CAST(M1.Name AS NVARCHAR(MAX)), CAST(M1.Name AS NVARCHAR(MAX)) FROM master.Sys.Columns M1 CROSS JOIN...
September 16, 2008 at 1:36 pm
DavidB (9/16/2008)
I assume you are referring to the crdate from the sysobjects table? Any service packs / patches applied? Changes to database settings?
In my case, there was nothing patches wise...
September 16, 2008 at 11:54 am
Viewing 15 posts - 8,791 through 8,805 (of 18,926 total)