Jump to content

Search the Community

Showing results for tags 'mssql'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome
    • Announcements & News
    • New Arrivals
  • Web Development
    • Programming
    • Database Development
    • Server Administration
    • Hosting & Domains
    • Frameworks
  • Web Design
    • HTML & CSS
    • Graphics & Multimedia
  • Desktop Discussion
    • Linux Development
    • Windows Development
    • Mac/Apple Development
    • Hardware Discussion
  • Marketing & Business
    • Advertising, Marketing, Monetization & Social Media
    • Search Engine Optimization & Traffic Building
    • Buy, Sell or Trade
  • Prodjex Web Development Applications, Tools and Plugins
    • IP.Board Applications and Plugins
    • Web Tools
  • The Developer Dump
    • General Chat


  • Community Calendar

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 13 results

  1. I am preparing for job interview. Can you guys please help Hi guys, these are some of the RBMS Interview Questions by artoftesting Ques.4. What is the difference between DBMS and RDBMS? Ans. The primary difference between DBMS and RDBMS is, in RDBMS we have relations between the tables of the database. Whereas in DBMS there is no relation between the tables (data may even be stored in files). RDBMS has primary keys and data is stored in tables. DBMS has no concept of primary keys with data stored in navigational or hierarchical form. RDBMS defines integrity constr
  2. Obwohl die offensichtlichste Verwendung Kommunikationsstörungen sind, ist klar, dass die Interferenzplanung mehr kann. Taktisch gesehen ist es taktisch nützlich, die Signale von Mobiltelefonen, Walkie-Talkies oder anderen Funkgeräten zu blockieren: Kleine Drohnen können auch das gps stören oder täuschen. Störsender mit der gleichen Größe und Leistung wie Smartphones können dazu führen, dass jede GPS-Sichtlinie nicht mehr funktioniert. Am Boden bedeutet dies nur kurze Entfernungen, aber Störsender können den GPS-Empfang in der ganzen Stadt stören. Spezialeinheiten könnten auch daran intere
  3. Hi Guys, I have been surfing the internet looking for a prompt app dev software because I have seen one of Appoly's and Red C's mobile applications which looked amazing. I am currently creating a sports app that provides quizzes and information on athletes. What would be the best mobile application software?
  4. Can any one tell me how to add(sum) two columns from two different tables but from same database. please send me exact query if you know..
  5. So who's tried it? I know Marc just got a book on it and started studying for certifications. I have yet to take a look.
  6. Have had people ask me in the past what is the best way to go about optional parameters when using a stored procedure in sql server, so thought I would put up the way in which I do this Example CREATE PROC blahblah @startdate DATETIME, @enddate DATETIME, @customerid INT AS SELECT * FROM myOrders WHERE CustomerID = @customerid AND orderdate BETWEEN @startdate AND @enddate Now lets say in the above we want to have customerid as optionally set. To do this we would need to give @customerid a default value. So we do this by adding "=NULL" to the end which will give it a defa
  7. Sometimes if the database is not designed correctly you will find dates stored as text values. When trying to compare dates to text you will have problems and it's not efficient. So that's where the cast function comes in. Table: Invoice Field: InvoiceDate Data Set: 20080515 20081025 20070113 20091007 Expected Data Set: 05/15/2008 10/25/2008 01/13/2007 10/07/2009 To do this simply cast the field as a date: select cast(InvoiceDate as datetime) from Invoice
  8. Thought I would post up a bit of an example on row numbers within MSSQL. This is something that can come in handy in a multitude of senarios and there are a couple of handy things you can do with in sql server. Lets say I have a dataset consisting of just name, value and I want the top 10 with the highest value first along with their rank. This is somewhere that adding a row number would be quite handy. So do this you would use the following: SELECT TOP 10 ROW_NUMBER() OVER(ORDER BY value DESC) as RANKING, [name],[value] This will give me a row number next to each re
  9. Some time ago I was reading data from a flat .txt file and inserting it into my database. My table in the database was only setup to handle 40 characters for the company or person's last name. If it was a company some would be longer than 40 and my job would fail. I chose to fix it with the substring function in MSSQL. Table: Debtor Field: RespLName My original code: select case when ltrim(rtrim(RespLName)) is null then P.LastName else ltrim(rtrim(RespLName)) end as LastName from Debtor After adding the substring function: select case when ltrim(rtrim(substring(RespL
  10. With this example I was trying to subtract 30 days from the current date. You can do this with the dateadd() function in MSSQL. select getdate(day,-30,getdate())
  11. A while back I was trying to round some numbers to only 2 digits after the decimal in MSSQL. I figured out how to do and wanted to share. Name of Table: Invoice Field Name: BalanceDue Data Set: 100.0001 34.532 49.4732 234.567000 Expected Data Set: 100.00 34.53 49.47 234.57 To do this you can use the ROUND function within MSSQL. select round(BalanceDue,2) from Invoice
  12. This is a quick and easy way to change the owner of an object if needed with sp_changedobjectowner sp_changeobjectowner 'oldownername.nameofobject', 'newowner' example: sp_changeobjectowner 'nathan.p_Customer1', 'nriley' The following changes the owner from "nathan" to "nriley"
  13. The following script will allow you to search all the data in all the tables within a certain database. This is useful for poorly labeled databases or when you have no data diagram to work off. If you know a unique piece of data that you see within the application itself you can then query the database for it. However, I wouldn't recommend running it on a production server during business hours. All you need to do is replace "DatabaseName" with you database name. Then execute it and it will be written into your database. Then just call it with the string of text you are
  • Create New...