Search Results

Showing results 1 to 40 of 253
Search took 0.06 seconds.
Search: Posts Made By: Ramy Mahrous ; Forum: MS SQL and child forums
Forum: MS SQL Sep 15th, 2009
Replies: 2
Views: 410
Posted By Ramy Mahrous
It depends you need it critically or not?
Forum: MS SQL Jul 20th, 2009
Replies: 4
Views: 2,641
Posted By Ramy Mahrous
Forum: MS SQL Jul 19th, 2009
Replies: 4
Views: 2,641
Posted By Ramy Mahrous
What's the edition you are using + did you install server tools or client tools?
Forum: MS SQL Jun 21st, 2009
Replies: 4
Views: 406
Posted By Ramy Mahrous
Are you using SQL Server? You can post your question to PHP forum as I don't know where your problem exists?!
Forum: MS SQL Jun 18th, 2009
Replies: 5
Views: 569
Posted By Ramy Mahrous
Update statement:
You should send the ID and the Value be deduction from the existing quantity

Update Table
Set Quantity = Quantity - @Value
Where ID=@ID
Forum: MS SQL Jun 18th, 2009
Replies: 5
Views: 569
Posted By Ramy Mahrous
hmmm, where is the question? I don't know in what you have problem.
Forum: MS SQL Jun 14th, 2009
Replies: 1
sql
Views: 404
Posted By Ramy Mahrous
Please mention your version of SQL Server to get the best tutorial for you I assume you are using 2005 here you are:...
Forum: MS SQL Jun 12th, 2009
Replies: 2
Views: 762
Posted By Ramy Mahrous
Can you please try that on SSMS, and see what happens? it may there something wrong from C#.
Forum: MS SQL Jun 1st, 2009
Replies: 3
Views: 546
Posted By Ramy Mahrous
It's independent ETL solution by Microsoft but from any source to any destination and you don't need to have SQL Server as software or staging to move data, I highly recommend you to use it, any help...
Forum: MS SQL Jun 1st, 2009
Replies: 3
Views: 546
Posted By Ramy Mahrous
what about SSIS? I didn't use SSMA.
You can use SSIS to move\copy data in fast and smooth way.
Forum: MS SQL May 12th, 2009
Replies: 2
Views: 1,109
Posted By Ramy Mahrous
Your thread subject is totally different than the thread itself.
Sknake, they can't use SQL Profiler as
Log file is your eye, you can see through each transaction happened.
Forum: MS SQL May 12th, 2009
Replies: 1
Views: 657
Posted By Ramy Mahrous
As you like you can do it in BLL (Business logic layer) or you can do it as constrains in database.
About generating strings you can see that http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=59194
Forum: MS SQL May 7th, 2009
Replies: 4
Views: 665
Posted By Ramy Mahrous
Triggers, and Events not called by you, rather called on something happens. As Sknake recommended ask more about SQL Triggers in MS SQL forum http://www.daniweb.com/forums/forum127.html
Forum: MS SQL May 6th, 2009
Replies: 4
Views: 665
Posted By Ramy Mahrous
There's no triggers in C# rather events.
Forum: MS SQL May 4th, 2009
Replies: 5
Views: 1,108
Posted By Ramy Mahrous
Forum: MS SQL Apr 30th, 2009
Replies: 5
Views: 1,108
Posted By Ramy Mahrous
Open new query document and copy the script and paste it there.
Forum: MS SQL Apr 30th, 2009
Replies: 5
Views: 1,653
Posted By Ramy Mahrous
You don't avoid injection just from application, but to run any code against the SP + it's not maintainable and this is the big risk in business application development, I'm sure for every scenario...
Forum: MS SQL Apr 29th, 2009
Replies: 2
Views: 633
Posted By Ramy Mahrous
Yes you need some tutorial in T-SQL as said, please contact me to provide you with some books.
Forum: MS SQL Apr 28th, 2009
Replies: 7
Views: 726
Posted By Ramy Mahrous
You can discuss that in MySQL forum http://www.daniweb.com/forums/forum126.html please help moderators to keep the Daniweb organized.
Forum: MS SQL Apr 27th, 2009
Replies: 5
Views: 1,653
Posted By Ramy Mahrous
Dynamic SQL is very risky!!
Forum: MS SQL Apr 26th, 2009
Replies: 7
Views: 726
Posted By Ramy Mahrous
I recommend you to normalize your table first then we can engage with SQL.
Forum: MS SQL Apr 25th, 2009
Replies: 4
Views: 656
Posted By Ramy Mahrous
Should I ask you the same questions?
OK, Please tell me what you are going to do?
Forum: MS SQL Apr 24th, 2009
Replies: 3
Views: 685
Posted By Ramy Mahrous
Check this http://social.msdn.microsoft.com/forums/en-US/sqldatabaseengine/thread/867b3a86-18ad-45f8-b051-4e7312233587/ or search on that...
Forum: MS SQL Apr 23rd, 2009
Replies: 3
Views: 1,819
Posted By Ramy Mahrous
As SQL shows date fields in correct format (like you want) so the problem in your third party that maps data types between SQL Server and MySQL. Check if you can configure mapping processing to...
Forum: MS SQL Apr 23rd, 2009
Replies: 3
Views: 1,819
Posted By Ramy Mahrous
What's the tool you use to migrate?
Forum: MS SQL Apr 23rd, 2009
Replies: 3
Views: 685
Posted By Ramy Mahrous
Do you have any triggers on those tables?
Forum: MS SQL Apr 19th, 2009
Replies: 3
Views: 697
Posted By Ramy Mahrous
First your question should be in C# Forum http://www.daniweb.com/forums/forum61.html
Second, it should raise exception but you don't show it "blank catch block" modify it to

catch (Exception ex)...
Forum: MS SQL Apr 17th, 2009
Replies: 6
Views: 1,067
Posted By Ramy Mahrous
blabla blabla blabla I don't understand anything.
Logically you need to update the two columns of table2 when the primary key of table1 changes?
Forum: MS SQL Apr 16th, 2009
Replies: 6
Views: 1,067
Posted By Ramy Mahrous
You can use triggers as said in the KB.
Forum: MS SQL Apr 15th, 2009
Replies: 2
Views: 389
Posted By Ramy Mahrous
Forum: MS SQL Apr 14th, 2009
Replies: 11
Views: 1,289
Posted By Ramy Mahrous
Tell me the error please, or send me the access file, to try.
<EMAIL SNIPPED>
Forum: MS SQL Apr 14th, 2009
Replies: 11
Views: 1,289
Posted By Ramy Mahrous
SELECT Subjects.Subject_ID, Subjects.SubjectCode, Subjects.SubjectName, Visits.Date, Visits.Comment
FROM Subjects INNER JOIN Visits ON Subjects.Subject_ID = Visits.Subject_ID
Where...
Forum: MS SQL Apr 14th, 2009
Replies: 3
Views: 412
Posted By Ramy Mahrous
Here you're

SELECT WorkOrders.ID, employees.name, employees_1.name AS Expr1
FROM WorkOrders LEFT OUTER JOIN
employees AS employees_1 ON WorkOrders.submitted_by...
Forum: MS SQL Apr 14th, 2009
Replies: 2
Views: 3,128
Posted By Ramy Mahrous
Give us more explanation.
What the table you need to update its values by which table?
Forum: MS SQL Apr 14th, 2009
Replies: 11
Views: 1,289
Posted By Ramy Mahrous
Copy your query here which raises this error.
Forum: MS SQL Apr 14th, 2009
Replies: 12
Views: 2,402
Posted By Ramy Mahrous
Remove alias and use the table name directly. Replace every T1 & T2 with tblEmailClub
Forum: MS SQL Apr 13th, 2009
Replies: 12
Views: 2,402
Posted By Ramy Mahrous
After digging I came with bad performance solution :s but I think it works,

SELECT
T1.address1,
tblEmailClub.emailclub_id,
tblEmailClub.firstname,
tblEmailClub.lastname,
tblEmailClub.email,...
Forum: MS SQL Apr 13th, 2009
Replies: 12
Views: 2,402
Posted By Ramy Mahrous
You've right, I'll try something else and reply you.
Forum: MS SQL Apr 13th, 2009
Replies: 12
Views: 2,402
Posted By Ramy Mahrous
No, distinct works on column and it removes the duplication, I tried it myself.
Forum: MS SQL Apr 13th, 2009
Replies: 12
Views: 2,402
Posted By Ramy Mahrous
hmmm, That's because of obligation of being distinct in first place

SELECT
DISTINCT (tblEmailClub.address1),
tblEmailClub.emailclub_id,
tblEmailClub.firstname,
tblEmailClub.lastname,...
Showing results 1 to 40 of 253

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC