Viewing 15 posts - 11,431 through 11,445 (of 15,376 total)
SQLNube (7/3/2012)
July 3, 2012 at 1:03 pm
OK let's try it this way.
Here is the code you posted and I made the change to original insert to ExternalSource.
-- ===================
-- Source table & data
-- ===================
IF NOT EXISTS (SELECT...
July 3, 2012 at 12:21 pm
sqldba_newbie (7/3/2012)
Steve Jones - SSC Editor (7/3/2012)
July 3, 2012 at 11:14 am
That certainly helps but it is awfully confusing. You seem to have a mix between an EAV type of structure and an adjacency list. I have to admit that this...
July 3, 2012 at 11:05 am
I compiled all the separate query windows into a single larger script to make things easier. Please take a look and see if this is correct.
-- ===================
-- Source table &...
July 3, 2012 at 11:03 am
ryno-544382 (7/3/2012)
If you look at the source table (ExternalSource) you will see there are two Floor2 under locname2.
Now, a simple distinct will only return one Floor2 I.e.
Floor1
Floor2
However, based on the...
July 3, 2012 at 10:59 am
Hi and welcome to SSC! This is certainly possible but not without some details from your end. We need ddl, sample data and desired output. See the first link in...
July 3, 2012 at 10:15 am
This is called a cross tab query. Take a look at the links in my signature. Unless you know how many columns each group will have you are looking at...
July 3, 2012 at 10:10 am
This should get you started.
http://thavash.wordpress.com/2007/10/02/date-formatting-in-reporting-services-list-of-format-codes/%5B/url%5D
I have a table with fields containing time stored as float.
You would probably be better off if you can change this to an appropriate datatype, although...
July 3, 2012 at 10:06 am
Start with this from Gail. http://www.sqlservercentral.com/articles/SQLServerCentral/66909/%5B/url%5D
July 3, 2012 at 10:00 am
ryno-544382 (7/3/2012)
Thanks for taking the time to get back to me.
I have updated the post to make more sense and per your suggestion.
If there is anything I still missed please...
July 3, 2012 at 8:29 am
That value is outside the range of what can fit in a float.
July 3, 2012 at 8:21 am
koteswararao001 (7/3/2012)
i have a table like emp table( ename ,eid,deptno,manager,eloc).dept table like (deptno,deptid,dname,dloc)please provide syntax for this eid is primary key
immediate plzzzzzzzz........
The title of your thread talks about creating tables...
July 3, 2012 at 7:55 am
This is excellent Dwain!!! Definite addition to the toolbox.
July 3, 2012 at 7:47 am
Viewing 15 posts - 11,431 through 11,445 (of 15,376 total)