New Things I Learned
Site Sections
Home
Contact
Syndication
Login
Posts
56
Comments
307
Trackbacks
0
SQL
Posts that relates a SQL experience
SQL 2005 Delegation of Windows Account (How to access file across network from SQL Server)
A fellow peer was looking at an error when trying to configure another developer's database. All of us are working on the same application, but our install doesn't seem to be working correctly, which causes the DB to not be properly installed, thus this guy is trying to configure it manually. We are using SQL 2005 (either Express or the regular versions) for our DB servers. He's using SQL Management Studio, logged in using Windows Authentication and was trying to bulk insert some records (BULK INSERT...
Share This Post:
Posted On
Monday, January 12, 2009 12:17 PM
|
Feedback (3)
Get return value from stored procedure
Recently we changed our DAC layer from using inline SQL to stored procedures in the database. On some of these SQL, we did record deletion (usually only 1 record), and we just execute it via IDBCommand.ExecuteNonQuery() and then check the return value to see how many records were affected (which should be 1) for verification that the query actually does something. With the change to stored procedure, we just return 1 in the stored procedure if the delete is successful. However, the calling code then...
Share This Post:
Posted On
Wednesday, September 17, 2008 11:57 AM
|
Feedback (28)
Returning Cursor from Stored Procedure Executing Dynamic Query
I usually stay on the C# development of things, and rarely venture to create SQL statements/code, other than the occasional SELECT / UPDATE / INSERT. However, we have a requirement from our Product Management group to DELETE records permanently from the database. We have proper enforced foreign keys in our DB schema, so one option we have is to create a stored procedure to help deletion, which will walk thru the referencing foreign keys to the record being deleted and then also delete those records...
Share This Post:
Posted On
Tuesday, August 26, 2008 11:49 AM
|
Feedback (8)
Archives
September, 2011 (1)
August, 2010 (2)
May, 2010 (1)
April, 2010 (1)
January, 2010 (2)
November, 2009 (4)
October, 2009 (2)
September, 2009 (7)
August, 2009 (2)
July, 2009 (3)
June, 2009 (1)
January, 2009 (2)
December, 2008 (2)
November, 2008 (1)
September, 2008 (1)
August, 2008 (3)
April, 2008 (3)
February, 2008 (6)
January, 2008 (12)
Post Categories
WPF
WCF
.NET
Personal
Blogging
ASP.NET
Home Theater
Windows
SQL
OS
Twitter
mulbud
I am blessed with a loving wife - celebrating my 11th anniversary today with a cake she bought even when I just got home at 9 PM...
about 116 days ago
mulbud
@nicholascloud
Obviously that'd be way too simple... :)
about 118 days ago
mulbud
Someone used the phrase 'go pound sand' - was curious enough to google it and see what it meant...
about 121 days ago
mulbud
@RizzoTees
Yes
about 121 days ago
mulbud
@RizzoTees
I decided paying $70/month is still not acceptable for a single phone. So I am NOT lining up today (or anytime soon) :)
about 121 days ago
mulbud
@JDWade
Decided on La Pizza yesterday - very good I have to say
about 121 days ago
mulbud
Anyone has any opinion on La Pizza on Delmar?
about 122 days ago
mulbud
@JDWade
That does sound good; the size will also be an eye opener :)
about 122 days ago
mulbud
CyanogenMod releases alpha that runs on the TouchPad! Should I wait until it's more stable, or play with an alpha? Decisions...
about 122 days ago
mulbud
Can anyone recommend a good pizza place that can deliver to Clayton? (looking for non-chain places here...)
about 122 days ago
Copyright © 2005 Muljadi Budiman
This work is licensed under a
Creative Commons License