•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 370,613 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,098 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser:
Views: 9701 | Replies: 0
![]() |
Ok here is the issue. I am getting this error when making my sql statement:
"Error 409: The assignment operator operation could not take a text data type as an argument"
Here is the code:
The ultimate goal of this is so I can use this stored procedure to grab these values and use them in asp .net using sql parameters, this method has worked for me before... but I have never used the text data type. It is absolutely needed as the maximum nvarchar of 8000 is simply not enough for what I want it to do.
I am a n00b in t-sql, please help
"Error 409: The assignment operator operation could not take a text data type as an argument"
Here is the code:
CREATE procedure sf_GetArticle @ArtID int, @Title nvarchar(200) output, @Content text output, @Hits int, @HitText nvarchar(200) output, @UserID nvarchar(20) output AS SELECT @ArtID = ArtID, @Title = Title, @Content = Content, @Hits = Hits, @HitText = HitText , @UserID = UserID FROM sf_articles WHERE ArtID = @ArtID IF @@ROWCOUNT = 0 SET @ArtID = 0 GO
The ultimate goal of this is so I can use this stored procedure to grab these values and use them in asp .net using sql parameters, this method has worked for me before... but I have never used the text data type. It is absolutely needed as the maximum nvarchar of 8000 is simply not enough for what I want it to do.
I am a n00b in t-sql, please help
Formerly known as Slade.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Database Design Marketplace
•
•
•
•
access ads adsense avatar backup breach broadband code combo creative crime daniweb data data protection data transfer database design development dropdownlist forensics google government hacker hardware howto ibm illustrator internet link linux medicine module net news normalization photoshop print reuse revenue security server sql storage survey text toread tutorials unit web wikipedia
- DATETIME data type arithmenic in SQL Server 2005 (MS SQL)
- Working with SQL server's Image data type (ASP.NET)
- MS SQL data type length (MS SQL)
- Working with SQL's Text data type (ASP.NET)
Other Threads in the Database Design Forum
- Previous Thread: Access Web Database?
- Next Thread: Help me make a list of database servers!


Linear Mode