Jump to content

T-SQL


teng84

Recommended Posts

i tried google but i was thingkinh like im gonna have something differen here

 

and yah , most of TSQl os used in ms mot in my but i have seen some of the codes that i am modefying where it uses tsql?

something like

if, when, then etc.. i have an idea how ot use them but i really want to be good in using them

Link to comment
Share on other sites

T-SQL, or Transactional SQL , is the flavour of SQL used by MS SQL Server. As with many things MS, if the rest of the world has a standard for something, MS impose a new one. Some of the biggest differences from MySQL's version of SQL will be found in T-SQL's (paltry) date/time functions.

Link to comment
Share on other sites

Some of the biggest differences from MySQL's version of SQL will be found in T-SQL's (paltry) date/time functions.

Yeah, no kidding, I had do some reporting and to get the DATE part of a DATETIME field I had to do this:

 

SUBSTRING( CONVERT(varchar, l.triggered_on, 20 ), 1, 10 )

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.